Restore multi-thread support to RunningAverage.

The host-side VideoScheduler records creates the RunningAverage on
the caller thread, but records stats to it on the capture and encode
threads and queries it on the capture thread, so currently requires
a thread-safe implementation.

BUG=223769


Review URL: https://chromiumcodereview.appspot.com/13154003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191486 0039d316-1c4b-4281-b951-d872f2087c98
Pepper: Autogenerate thunk for PPB_Graphics3D.


BUG=


Review URL: https://chromiumcodereview.appspot.com/13209006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191490 0039d316-1c4b-4281-b951-d872f2087c98
Disable android auto-reconnect on chromium.perf

Script is failing with permission error ( http://goo.gl/bgdRQ ):
CRITICAL:root:PUSH FAILED: failed to copy
'/b/build/slave/Android_Nexus4/build/src/out/Release/adb_reboot' to
'/data/local//adb_reboot': Permission denied

TBR=sivachandra

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191491 0039d316-1c4b-4281-b951-d872f2087c98
Extend about:net-internal's filter to treat text separated
by spaces as multiple filters, and "and" the results together.
Also add support for quoted strings.

BUG=224944
Review URL: https://codereview.chromium.org/13360002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191492 0039d316-1c4b-4281-b951-d872f2087c98
Uninstall a non-syncfs extension should not cause Token loss

BUG=225197
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191493 0039d316-1c4b-4281-b951-d872f2087c98
cc: Add remaining pixel tests for background blur.

This replicates the following layout tests with compositor pixel tests:
platform/chromium/compositing/filters/background-filter-blur-outsets.html
platform/chromium/compositing/filters/background-filter-blur-off-axis.html

The first test verifies that pixels from outside the bounds of the layer
with background blur are used to contribute to the background behind the
blurred layer.

The second test verifies that the blur layer's transform does not affect
the rendering of the blurred content behind it.

New test:
LayerTreeHostFiltersPixelTest.BackgroundFilterBlurOutsets
LayerTreeHostFiltersPixelTest.BackgroundFilterBlurOffAxis

R=jamesr,enne
BUG=191170
Depends on: https://codereview.chromium.org/12518026/


Review URL: https://chromiumcodereview.appspot.com/12571010

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191495 0039d316-1c4b-4281-b951-d872f2087c98
Add more wait time before inject event.

Since we don't know when the page stop rendering, have to add a long
wait time, hope it could work for all bots.

NOTRY=true 
BUG=224923

Review URL: https://chromiumcodereview.appspot.com/13317004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191496 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1457.0 to 1458.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191498 0039d316-1c4b-4281-b951-d872f2087c98
Decouple content, ui and InputMethodUtil from XKeyboard.

This is necessary for extracting from chrome/browser/chromeos because using content/* or ui/* is not allowed in chromeos directory.

BUG=164375
TEST=None


Review URL: https://chromiumcodereview.appspot.com/12902007

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

BUG=164377
TEST=None

Review URL: https://chromiumcodereview.appspot.com/13197003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191503 0039d316-1c4b-4281-b951-d872f2087c98
Remove "/games" path from whitelisted NaCl URL check.


BUG=none
TEST=content_unittests


Review URL: https://chromiumcodereview.appspot.com/13209007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191504 0039d316-1c4b-4281-b951-d872f2087c98
Remove experimental code to pick the "warmest" socket
(based on age and bytes received) in favor of older
algorithm to pick the most recently used socket.

Tests showed no real performance difference, so
defaulting to the older, simpler, and more intuitive
algorithm.

This is basically a revert of
https://codereview.chromium.org/7251004

TBR=sergeyu@chromium.org
BUG=222090
Review URL: https://codereview.chromium.org/12886034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191507 0039d316-1c4b-4281-b951-d872f2087c98
base: Update the include paths of base/string_piece.h to its new location.

string_piece.h was moved into base/strings/ in r191206 -
https://chromiumcodereview.appspot.com/12982018/

TBR=brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191508 0039d316-1c4b-4281-b951-d872f2087c98
Allow no-internal display mode
- Remember primary per display pair
- remember power state. Restore when restarted, but not boot time.
- DefaultLayout is used to construct layout for display pair.
 It used to be used if the layout wasn't set before, but since layout has other data such as primary/mirror state, it makes more sense to copy it first.
Cleanup: remove unnecessary code.

BUG=218387
TEST=covered by test. manually tested on device.

Review URL: https://chromiumcodereview.appspot.com/12865019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191509 0039d316-1c4b-4281-b951-d872f2087c98
PPAPI: Remove threading options; it's always on

This also re-enables thread checking for the host side resource and var trackers. Before, checking was disabled everywhere.

BUG=159240,92909


Committed: r186925
Reverted: r186939 due to build errors

Committed: r187340

Committed: r187427
Reverted: r187668 due to a failing check in Canary, which was fixed here: r187681

Committed: r189518
Reverted: r189682, due to regression in Kraken (see crbug.com/222741)

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191420
Reverted: r191441, due to new failing PDFResource unit test.

Review URL: https://chromiumcodereview.appspot.com/12378050

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191510 0039d316-1c4b-4281-b951-d872f2087c98
Add a remove all bookmarks method to bookmark model.

Android wants to give users an option to clear all their bookmarks, when they
switch their sync accounts. Add a method to bookmark model which clears
all the bookmarks.
BUG=114408
TEST=included


Review URL: https://chromiumcodereview.appspot.com/12473006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191511 0039d316-1c4b-4281-b951-d872f2087c98
Rewriting pyauto extensions tests as browser tests. Below are the pyauto tests being converted.
testSetExtensionStates
testTriggerBrowserAction
testTriggerPageAction
testAdblockExtensionCrash


BUG=None


Review URL: https://chromiumcodereview.appspot.com/12500014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191512 0039d316-1c4b-4281-b951-d872f2087c98
When a text in the website includes many repetitions, CheapSqueezeInplace is called to compress the text and make it more effective to detect the language.  This function included a bug to produce an invalid UTF-8 byte sequence.  It affected that the produced bytes was passed to other functions, and sometimes buffer overflow happened.  This patch fixes this problem not to produce such these bytes.

This way is suggested by dsites@, a CLD developer.

Note: The input of CheapSqueezeInplace should end with 4 characters, which consists of 3 space characters and the NUL, so the boundary error would not happen.


BUG=176719
TEST=Unit Test with ASAN


Review URL: https://chromiumcodereview.appspot.com/12525006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191513 0039d316-1c4b-4281-b951-d872f2087c98
Add content interface for additional password_form fields.


BUG=188908


Review URL: https://chromiumcodereview.appspot.com/12549022

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