DevTools: [Tests] Clear localStorage only when starting /inspector/ or /inspector-enabled/ test

Clearing the devtools' localStorage when showing its window is wrong, since this makes it
impossible to execute subsequent openings of the devtools with retained settings in a single test.

R=pfeldman
BUG=335893

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245991 0039d316-1c4b-4281-b951-d872f2087c98
Validate vector lengths in ImageHostMsg_DidDownloadImage
TBR=sky@chromium.org
BUG=333038

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245992 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Fix Downloads label in the left nav.

Currently the localized name of Downloads directory is not used. This CL fixes it.

BUG=336182
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245993 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 165424:165426

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=165425:165426&mode=html
TBR=
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245995 0039d316-1c4b-4281-b951-d872f2087c98
Allow the OSX App Launcher to appear over other fullscreen apps in Mavericks.

On Mavericks with the "Displays have separate Spaces" option, OSX has
stopped switching out of the fullscreen space when activating a window
in the non-active application, other than by clicking its Dock icon.
Since the app launcher Dock icon is not Chrome, this can leave a user in
fullscreen with the app launcher window obscured.

This CL overrides a private method, -[NSWindow
_allowedInOtherAppsFullScreenSpaceWithCollectionBehavior:] to allow the
app launcher to appear on top of other applications in fullscreen. Then,
since clicking that window will make Chrome active, subsequent window
activations will successfully switch the user out of the fullscreen
space.

BUG=326405

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245996 0039d316-1c4b-4281-b951-d872f2087c98
Change the operations touching counts_[] and redundant_count_ to be atomic.
This will make it explicit that the counters are accessed without synchronization and will also suppress TSan v2 warnings.

BUG=46840
R=jar@chromium.org,kaiwang@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245997 0039d316-1c4b-4281-b951-d872f2087c98
Automated Commit: Committing new LKGM version 5268.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245998 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Stop to use localStorage to store the banner dissmissing flag.

Previously we switched from the localStorage to the chrome.storage.local, but
one flag is still stored into localStorage. We can no longer use the local
storage from the pack app. This CL completely removes usage of the localStorage.

BUG=336143
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246000 0039d316-1c4b-4281-b951-d872f2087c98
Flag TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 as using ECDHE_ECDSA key exchange

BUG=336328
TEST=Navigate to a site that negotiates
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 (eg: https://www.gmail.com )
and, if TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 is negotiated, confirm
that the key exchange algorithm is listed as ECDHE_ECDSA with the
encryption/authentication alg as CHACHA20_POLY1305

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246001 0039d316-1c4b-4281-b951-d872f2087c98
Disable LauncherContextMenuTest.NewIncognitoWindowMenuIsDisabledWhenIncognitoModeOff
under DrMemory on Windows

BUG=336343
TBR=eugenis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246003 0039d316-1c4b-4281-b951-d872f2087c98
More suppressions for TSan v2:
 -- suppress more races on command line switches, include former suppressions from issue 268946 (issue 334140)

BUG=268946,334140
TBR=satorux@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246004 0039d316-1c4b-4281-b951-d872f2087c98
Disable NTPUserDataLoggerTest.TestLogging under TSan-Valgrind.

BUG=336349
TBR=eugenis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246005 0039d316-1c4b-4281-b951-d872f2087c98
Android N7 zoomed in on resolutions < VGA - workaround

Renamed DeviceImageFormatHack to BuggyDeviceHack and extended
to hold a list of (1) devices listed by Model+Device for which minimum
width and height are given.

That is used to check for model etc and if necessary to overwrite
capture sizes smaller than that.

Test it via f.i. [1] and making sure 320x240 resolution is not
excessively zoomed in w.r.t. 640x480 or higher.

[1] http://webrtc.googlecode.com/svn/trunk/samples/js/demos/html/constraints-and-stats.html

BUG=305294

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246006 0039d316-1c4b-4281-b951-d872f2087c98
Memory sheriffing:
 -- exclude NTPUserDataLoggerTest.TestLogging under all tools (issue 336349)
 -- exclude AutoclickTest.UserInputCancelsAutoclick under Memcheck (issue 336351)

BUG=336349,336351
TBR=eugenis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246007 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 165426:165440

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=165427:165440&mode=html
TBR=
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246011 0039d316-1c4b-4281-b951-d872f2087c98
Add window_bits to DeflateStream constructor

Allow specifying the window size that is used for transmitting data,
ie. client_max_window_size.

Add tests WindowBits8 and WindowBits10 to verify that the parameter is
effective.

BUG=280910
TEST=net_unittests --gtest_filter=WebSocketDeflateStream*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246012 0039d316-1c4b-4281-b951-d872f2087c98
Revert 245447 "[GCM] Introduce GCMClientFactory to create GCMCli..."
This CL caused massive UAF/invalid free reports on the Valgrind bot

BUG=336360

> [GCM] Introduce GCMClientFactory to create GCMClient for GCMProfileService
> 
> We used to call GCMClient::Get() to get the single instance. This did not
> work when we need to pass some initialization data from browser to it.
> GCMClientFactory is introduced such that GCMClient instance can be
> created, initialized and used in GCMProfileService::IOWorker.
> 
> BUG=284553
> TEST=existing tests
> 
> Review URL: https://codereview.chromium.org/135903005

TBR=jianli@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246013 0039d316-1c4b-4281-b951-d872f2087c98
Add per-file OWNERS for signin-related files in //components.

The list of OWNERS added is the same as that of //components/signin/OWNERS.

R=joi@chromium.org

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

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