[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
SVN changes up to revision 250528
[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
SVN changes up to revision 250530
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
SVN changes up to revision 250537
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
SVN changes up to revision 250538
SVN changes up to revision 250539
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
SVN changes up to revision 250541
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
SVN changes up to revision 250543
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
SVN changes up to revision 250544
[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
SVN changes up to revision 250545
[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