Move Extension and PermissionsData to extensions/common.

BUG=298586
R=cdn@chromium.org, miket@chromium.org, sky@chromium.org
TBR=cdn@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235462 0039d316-1c4b-4281-b951-d872f2087c98
Making rAc wallet icon smaller.

R=dbeam@chromium.org, oshima@chromium.org
BUG=315973

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235465 0039d316-1c4b-4281-b951-d872f2087c98
Fix audio routing on Android.

We are listening to the intent ACTION_HEADSET_PLUG to decide whether to turn on speakerphone or not.
As long as a wired headset has been plugged before, the listener will receive an ACTION_HEADSET_PLUG
intent regardless of a headset being plugged or not. The current code can handle this case correctly.

However, if no wired headset has been ever plugged after boot up, the device will not broadcast an
ACTION_HEADSET_PLUG intent after the listener is registered. This will result in audio
being routed to earpiece, instead of speakerphone.

To achieve consistent behavior, it's needed to turn on speakerphone when the listener is registered.
In case a wired headset is plugged, the listener will receive an intent which results in speakerphone
turned off.

BUG=319010
R=henrika@chromium.org, qinmin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235466 0039d316-1c4b-4281-b951-d872f2087c98
linux-aura: Restore middle-click on new-tab button behaviour.

Middle-clicking on new-tab button opens a new tab and navigates to the
URL in the clipboard, or navigates to the search-result page for the
clipboard content if it's not a URL.

BUG=319011
R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235469 0039d316-1c4b-4281-b951-d872f2087c98
Track extension resource timestamp deltas

This adds stats to examine the deltas between the modification time
of extension resources on the filesystem and the creation time
of their extension's root directory.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235470 0039d316-1c4b-4281-b951-d872f2087c98
Send ChromeViewMsg_SearchBoxToggleVoiceSearch IPC message from SearchIPCRouter.

Clean up SearchIPCRouterTest and SearchIPCRouterPolicyTest along the way.

BUG=272583
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235471 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Fix memory.top_25 flake.

Clicking does not imply navigation and if we wait for ready state, a
subsequent wait-for-navigate may be invoked too late to wait for
navigation.

Instead, wait for navigate immediately and have it wait for ready state.

BUG=301884
TBR=qyearsley@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235472 0039d316-1c4b-4281-b951-d872f2087c98
Removes IPC from aura_demo

BUG=none
TEST=none
R=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235473 0039d316-1c4b-4281-b951-d872f2087c98
Adds a proxy advisor object to the network predictor which sends HEAD requests to the data reduction proxy (if enabled and active) to advise it of possible preconnect/preresolution opportunities.

BUG=270157

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235474 0039d316-1c4b-4281-b951-d872f2087c98
Devtools workspace feature means that a developer can lose
unsaved changes if the inspected page or browser gets closed.
This CL adds a warning dialog which is displayed in these cases by
devtools if the workspace is dirty.

The dialog is displayed by chaining a Devtools beforeunload 
handler before the content's beforeunload handler.
Plumbing is added to support said chaining.

For a more detailed overview, see comments in devtools_window.h

BUG=289552

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235475 0039d316-1c4b-4281-b951-d872f2087c98
Add remove account UI to the new avatar bubble.

Side note: this only allows the deletion of secondary accounts.

BUG=311111
TEST=With the --new-profile-management and --enable-inline-signin
flags, start chrome, and sign in a profile. Through the avatar bubble
add a secondary account. Once it's added to the list, you should be able
to see a little x next to it, and pressing it will delete it from the list.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235476 0039d316-1c4b-4281-b951-d872f2087c98
[Media Galleries] Add originals handling to iphoto data provider

R=vandebo@chromium.org
BUG=151703

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235477 0039d316-1c4b-4281-b951-d872f2087c98
Suppress C4334 32/64 bit shift warning for harfbuzz on win

Suppress the C4334 32/64 bit shift warning on windows to allow it to be
compiled on windows x64.

TBR=behdad@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235478 0039d316-1c4b-4281-b951-d872f2087c98
Introduce ui/wm/ directory.

This starts by moving ui/shell into ui/wm/test/ directory and stabilish
a wm.gyp to hold all the targets for wm.

BUG=308710
TEST=None
R=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235481 0039d316-1c4b-4281-b951-d872f2087c98
Remove pnacl-translate for NMF entries via reverse service for shared libs.

This was added a while back to translate PSO files before
loading the PSO dynamic libraries. However, PNaCl + dynamic
linking isn't supported yet, isn't maintained, and the
"irt-resource-open" API that hits this reverse service is
disabled for PNaCl anyway.

Simplify things in case this comes up in trusted plugin
refactoring.

Cleanup from:
BUG=https://code.google.com/p/nativeclient/issues/detail?id=2366
R=dschuff@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235484 0039d316-1c4b-4281-b951-d872f2087c98
[NaCl SDK] roll naclports revision.

This fixes the linux bot which is currently failing to build
the lua appengine example (readline build failing).

R=binji@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235485 0039d316-1c4b-4281-b951-d872f2087c98
Blink Roll: 162026:162145

See try jobs in https://codereview.chromium.org/68893030/

Although there are four CLs difference, but these four are all reverts, so should be safe to roll.

BUG=
TEST=tree

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235489 0039d316-1c4b-4281-b951-d872f2087c98
Add a cap of six in-flight requests per host to the ResourceScheduler

There's a cap of 10 delayable in-flight requests already present in the ResourceScheduler, but due to the underlying cap on six connections per host we sometimes don't utilize all ten if they're all for the same host. This CL adds an additional per-host cap, meaning if there's already six in-flight requests going to foo.bar.com, another request to foo.bar.com will be skipped in favour of a later-queued request to foo2.bar.com.

Tests from pmeenan@ suggests this results in an overall increase of onload and Speed Index speed by about 2.5%, and DOM Content Loaded speed by 1.15%. 

BUG=319488

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235491 0039d316-1c4b-4281-b951-d872f2087c98
[sql] Recover Favicons v5 databases, with more recovery automation.

An entirely automated recovery system runs afoul of questions about
whether the corrupt database's schema can be trusted.
sql::Recovery::AutoRecoverTable() uses a schema created by the caller
to construct the recovery virtual table and then copies the data over.

sql::Recovery::SetupMeta() and GetMetaVersionNumber() simplify
accessing meta-table info in the corrupt database.

sql::test::IntegrityCheck() and CorruptSizeInHeader() helpers to
simplify common testing operations.

Rewrite ThumbnailDatabase v6 and v7 recovery code and tests using
these changes, and add a v5 recovery path.  Additionally handle
deprecated versions.

BUG=240396,109482

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

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