[GCM] Reset socket state on disconnect

Adds Reset() method to ConnectionHandler so that external connection events
can interrupt any in-progress socket interaction. Without this, it's possible
for the socket to be destroyed and the handler (and its stream objects) to
retain a pointer to the now-invalid Socket object.

BUG=342438

Review URL: https://codereview.chromium.org/159323002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250528 0039d316-1c4b-4281-b951-d872f2087c98
[Valgrind] Remove safe-browsing suppression which no longer fires.

BUG=101470,339214
TBR=groby@chromium.org

Review URL: https://codereview.chromium.org/149503007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250530 0039d316-1c4b-4281-b951-d872f2087c98
Fix typo in base/values.cc from r249102, add a test

BUG=341797

Review URL: https://codereview.chromium.org/137813005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250537 0039d316-1c4b-4281-b951-d872f2087c98
Let ModeIndicator ignore the shelf-space.

BUG=340348
R=nona@chromium.org
TEST=manually

Review URL: https://codereview.chromium.org/143073010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250538 0039d316-1c4b-4281-b951-d872f2087c98
Some minor window state replacements

BUG=337563
TEST=none

Review URL: https://codereview.chromium.org/146643005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250539 0039d316-1c4b-4281-b951-d872f2087c98
Move common param trait enum's to IPC range-checked macros.

This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.

BUG=246708

Review URL: https://codereview.chromium.org/147243004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250541 0039d316-1c4b-4281-b951-d872f2087c98
Typo fix in scoped_ptr.h comment

BUG=

Review URL: https://codereview.chromium.org/153523004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250542 0039d316-1c4b-4281-b951-d872f2087c98
Removing the "Take Screenshot" menu item for now 
Currently when the screenshot is taken, the menu with the "Take Screenshot"
menu item is captured as part of the screenshot. This is a poor use experience,
so removing the menu item for now until we can fix this.
(This menu item was added recently in https://codereview.chromium.org/132233003.)

BUG=196658

Review URL: https://codereview.chromium.org/159843002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250543 0039d316-1c4b-4281-b951-d872f2087c98
Sets the initial user id for MultiProfileNotificationBlocker.

This removes the tests for 'non-login but blocker is activated'
scenario, but this doesn't happen actually. The blocker owner
MultiUserWindowManager is always initialized after login.

BUG=339681
R=skuhne@chromium.org
TEST=unit_tests

Review URL: https://codereview.chromium.org/140433016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250544 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Lint pylib/base.

BUG=168518

Review URL: https://codereview.chromium.org/156603003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250545 0039d316-1c4b-4281-b951-d872f2087c98
[FastTextAutosizer] Add chrome://flags entry for the fast text autosizer

This patch adds a chrome://flags entry for enabling the fast text
autosizer on Android. This is a first step towards getting
some early data before enabling this on the dev channel.

This patch has added CONTENT_EXPORT to kEnableFastTextAutosizing
so the flag is accessible from chrome/browser.

For more information, see our doc: http://tinyurl.com/fasttextautosizing

BUG=342474

Review URL: https://codereview.chromium.org/146893006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250546 0039d316-1c4b-4281-b951-d872f2087c98
Add test plumbing so that layout tests can query whether a compositor frame was requested

BUG=336676

Review URL: https://codereview.chromium.org/159493002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250549 0039d316-1c4b-4281-b951-d872f2087c98
Remove src/cloud_print from _CheckSpamLogging.
None of src/cloud_print is part of chrome binary.

NOTRY=true

Review URL: https://codereview.chromium.org/159933005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250550 0039d316-1c4b-4281-b951-d872f2087c98
cc: Always use combined_bin when computing GPU memory manager stats.

By only including memory used for pending or active tree in GPU
memory manager stats we often report usage that will cause the
manager to think our requirements are lower than they are.
Always using the combined bin seem to produce better results.

BUG=342261

Review URL: https://codereview.chromium.org/153263005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250556 0039d316-1c4b-4281-b951-d872f2087c98
Add <link rel=next> support to prerender.

IEs prerender implementation supports rel=next link elements. Let's
also parse them, and based on a field trial launch these as
prerenders.

R=davidben,tburkard,jochen,jschuh@chromium.org
BUG=329963

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250280

Review URL: https://codereview.chromium.org/113803003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250558 0039d316-1c4b-4281-b951-d872f2087c98
Suppress leak in DOMWrapperWorld()

BUG=340952
TBR=haraken@chromium.org
TEST=waterfall.sh match

Review URL: https://codereview.chromium.org/160133002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250559 0039d316-1c4b-4281-b951-d872f2087c98
sync: move ProfileSyncService early-init code from StartUp to Initialize

Since this means doing a bit more work in Initialize that will need tear
down at destruction time, move some tear-down code to Shutdown and call
it from the destructor.

This is in preparation for an upcoming change to move
slow-startup control of PSS into a separate class.

BUG=80194

Review URL: https://codereview.chromium.org/153893008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250561 0039d316-1c4b-4281-b951-d872f2087c98
Revert 250320 "Make the libc overrides in zygote_main_linux.cc s..."

> Make the libc overrides in zygote_main_linux.cc sanitizer-friendly.
> 
> Previosly they would bypass sanitizer interceptors and call the libc
> implementations directly. No bueno.
> 
> BUG=123263
> R=jln@chromium.org
> 
> Review URL: https://codereview.chromium.org/158833004

TBR=earthdok@chromium.org

Review URL: https://codereview.chromium.org/159393003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250563 0039d316-1c4b-4281-b951-d872f2087c98
Disable infobars by default through extra browser args when reporting speed index.

BUG=336007
TEST=

./tools/perf/run_measurement page_cycler --browser=android-chromium-testshell tools/perf/page_sets/key_search_mobile.json --report-speed-index

Should have no more infobars by default.

Review URL: https://codereview.chromium.org/147263003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250564 0039d316-1c4b-4281-b951-d872f2087c98
Add suppression for variant of NSS leak called from NSSDecryptor::Init()

BUG=321976
TBR=rtenneti@chromium.org

Review URL: https://codereview.chromium.org/156603006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250565 0039d316-1c4b-4281-b951-d872f2087c98