Adding UMA stats for how many page actions there are.

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249833 0039d316-1c4b-4281-b951-d872f2087c98
r247886 moved testing code to its own file and failed to remove it from the original file. This change completes the move.

BUG=340391, 306200
TEST=none; covered by existing tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249834 0039d316-1c4b-4281-b951-d872f2087c98
Add fallback support for custom serial baud rates on OS X.

Many drivers do not support the IOSSIOSPEED ioctl, but do
support arbitrary baud rates. This adds a fallback for cases
where IOSSIOSPEED fails.

BUG=337482
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249835 0039d316-1c4b-4281-b951-d872f2087c98
Remove some unnecessary includes from extension_function_dispatcher.cc

This is a small step toward breaking ExtensionFunctionDispatcher's
src/chrome dependencies so it can move to src/extensions.

BUG=332986
TEST=compiles
TBR=miket@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249836 0039d316-1c4b-4281-b951-d872f2087c98
Cast: Adding rtp_ts to EncodedAudioFrame.

Including the rtp_ts in the encoded frame allows a
cleaner code and to re-enable logging which was previously
missing.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249838 0039d316-1c4b-4281-b951-d872f2087c98
Part 3 of search provider refactoring.

Moves static methods used by both search_provider and
zero_suggest_provider into the base class. Does not change any
implementation details. This allows us to remove
friendship between zero_suggest_provider and base_search_provider
classes.

TBR=mpearson

BUG=338955

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249840 0039d316-1c4b-4281-b951-d872f2087c98
Clarify event page documentation for apps vs extensions.

Apps specify "background" nested in an "app" dictionary, where
extensions it is just a top level entry.

BUG=340406
NOTRY=true

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

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

TracingControllerTest.EnableCaptureAndDisableMonitoringWithFilePath has been flaking consistently.

NOTRY=true
TBR=wangxianzhu
BUG=341995

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249842 0039d316-1c4b-4281-b951-d872f2087c98
Split PrefHashStore into PrefHashStore and PrefHashStoreTransaction.

All a PrefHashStore can now do is hand off PrefHashStoreTransactions.

PrefHashStoreTransactions are used to determine the scope of a series of updates to the PrefHashStore and do one-time computation at the end when required.

This change is aimed in particular at updating the hash_of_hashes only once at the end of a series of updates to multiple hashes rather than recomputing it every time a hash is stored in that serie.

BUG=340540
R=bauerb@chromium.org, erikwright@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249843 0039d316-1c4b-4281-b951-d872f2087c98
TextRenderer only pushes new cues downstream

The TextTrack subsystem in Blink unconditionally satisfies a request
to add a new text cue to the text track cue list, relying on the
upstream demuxers to filter out cues that have already been added to
that list.

The TextRenderer now manages a map of time range objects, to keep
track of which cues (based on their start times) have already been
pushed downstream prior to the current seek.

BUG=230708

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249845 0039d316-1c4b-4281-b951-d872f2087c98
sync: get rid of ProfileSyncService::CreateBackend, there's already a factory.

Changing ProfileSyncComponentsFactoryMock to a fake would also be nice, but outside the scope of this for now.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249846 0039d316-1c4b-4281-b951-d872f2087c98
Fixes bug in paint scrollbar corner

I had thought a clip was set, but it isn't always. So, this code needs
to fill a rect just for the region passed.

BUG=333499 341787
TEST=none
R=sadrul@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249847 0039d316-1c4b-4281-b951-d872f2087c98
Media Galleries Scanning: Listen for extension unloads.

BUG=161119

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249848 0039d316-1c4b-4281-b951-d872f2087c98
Exclude Menu related strings from Android builds.

BUG=326023

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

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

Includes fix for (benign) use of a uninitialized variables.

BUG=339860
R=zmo@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249851 0039d316-1c4b-4281-b951-d872f2087c98
Determine the source of a drag and drop for the bookmark manager

Determine whether or not a drag and drop session was started with
touch or mouse and pass this information through to the
DragDropController. Passing the correct source (namely
touch) to the DDC prevents the unresponsiveness described
in issue 316105.

BUG=316105
TEST=See bug

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249853 0039d316-1c4b-4281-b951-d872f2087c98
Do not force scrollbar update if parameters didn't change (reland).

This fixes a bug where scrollbar animations fire indefinitely, which
is a serious battery issue.  Relanding after fixing affected layout tests.

BUG=341145
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249855 0039d316-1c4b-4281-b951-d872f2087c98
Fix sketchy User Manager code :(

This fixes two things:
- the callbacks in UserManagerScreenHandler relied on SwitchToProfile
being asynchronous, or else they would destroy UserManagerScreenHandler
and then try to return to the function which would by then be gone.
- the BrowserList observer used by SwitchToProfile that waited to see
when a new browser window was open would sometimes go out of scope (because
it was a local variable) and clean itself up, not getting to see the new
browser being opened, and therefore never running the callback.
The observable effect was that unlocking a profile would keep the user
manager open (as noone told it to hide)

This probably explains the weird flakiness observed in
https://codereview.chromium.org/129333002/

BUG=NONE

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249858 0039d316-1c4b-4281-b951-d872f2087c98
Call SwapImports on x64 builds too.

BUG=335173

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

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