Don't use start command when starting native messaging hosts.

start calls 'cmd.exe /k' internally which keeps cmd running after
host process exits.

BUG=298304
R=mpcomplete@chromium.org, rvargas@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225300 0039d316-1c4b-4281-b951-d872f2087c98
Support userAgent overriding for guests.

Following methods are implemented:
<webview>.setUserAgentOverride(string);
<webview>.getUserAgent();
bool <webview>.isUserAgentOverridden();

Usage:
webviewElement.setUserAgentOverride('...');
webviewElement.setAttribute('src', '...);


BUG=275949
Test=Added WebViewTest.UserAgent, for use case, see Usage above.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225301 0039d316-1c4b-4281-b951-d872f2087c98
Remove VolumeManager.mountDrive().

Now, VolumeManager has Drive's volume (if it is enabled) when it is ready, and
the mounting state is managed by C++ backend.
So, Files.app doesn't need to request mount the Drive from JS.

BUG=268817
TEST=Ran browser_tests --gtest_filter="*FileSystemExtensionApiTest*:*FileManagerBrowserTest*:*FileBrowserPrivateApiTest*" and tested manually.

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

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

BUG=295997
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225303 0039d316-1c4b-4281-b951-d872f2087c98
Adds code primarily to AvailabilityFinder and APISchemaGraph
for the purpose of finding object-level availability.

The general process:

AvailabilityFinder uses a HostFileSystemIterator to loop
over file systems. It adds availability data for an API to
an APISchemaGraph at each iteration. This Graph is returned
to the caller, and can be used to look up availability
information.

Note that this code is not actually called from within
APIDataSource, and no data is being given to the templates
at this time.

BUG=233982
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225304 0039d316-1c4b-4281-b951-d872f2087c98
Simulate a mouse click.

BUG=134210

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225305 0039d316-1c4b-4281-b951-d872f2087c98
Re-enable framebuffer discarding on new ARM drivers

Re-enable framebuffer discarding on new ARM drivers now that the
flickering bug has been fixed.

BUG=290876

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225306 0039d316-1c4b-4281-b951-d872f2087c98
Remove suppression of race:browser_sync::PasswordChangeProcessor::Disconnect.
r224953 fixes it.

BUG=296862
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225307 0039d316-1c4b-4281-b951-d872f2087c98
Add share button to generate public url for dmprof visualizer.

User now can click share button to generate a public url for current breakdown
template. Url will be shown next to the share button.

Also make some trivial improvements on GUI.

BUG=259206
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225308 0039d316-1c4b-4281-b951-d872f2087c98
Factor out ServerThread from the QUIC EndToEndTest in order to reuse in
a Chromium test.

Merge internal change: 53205265

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225309 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Reverse double-tap drag zoom direction.

TBR=tedchoc@chromium.org
NOTRY=true
BUG=297981

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225312 0039d316-1c4b-4281-b951-d872f2087c98
drive: Stop using resource ID to access local metadata in OpenFileOperation

BUG=275270
TEST=unit_tests
R=kinaba@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225314 0039d316-1c4b-4281-b951-d872f2087c98
Add support for top level "sockets" manifest key.

Given the parsing logic for sockets permission string is non trivial, one of the challenges of this CL is to re-use the code from SocketPermissionData.

Note it would have been ideal to re-use the SocketPermission class itself, but i found it to be too tightly coupled with the permission system, and we are implementing a top level manifest key (i.e. we deal with ManifestData structures).

What this CL addresses specifically is the ability for "SocketsUdpXxx" API function to call SocketsApiPermissions::CheckParam for checking permissions.

What this CL doesn't address (yet) is to make sure the "Permissions" UI shows the socket permissions -- i.e. calling SocketPermission::GetMessages(). This proves non-trivial because this code is also tightly coupled to the permission code. I am open to suggestion on how to address this issue.

BUG=275964

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225315 0039d316-1c4b-4281-b951-d872f2087c98
Block NPAPI plugins by default Add Facebook video calling and Google Earth plugins to the tracked list.

BUG=281651

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225316 0039d316-1c4b-4281-b951-d872f2087c98
Expose chrome, devices, and help Chrome URL hosts.

This will list these URLs in chrome://chrome-urls.
They'll also be suggested in omnibox autocomplete.

BUG=297421
R=pkasting@chromium.org
TEST=chrome://chrome, chrome://devices, and chrome://help are all listed in about:chrome-urls and suggested in autocomplete.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225317 0039d316-1c4b-4281-b951-d872f2087c98
media: Implementing Opus Seek Pre Roll

Opus has the idea of a rolling key frame (i.e.) whenever there is
a discontinuity, certain number of samples has to be thrown away
before the decoded data is valid. The number of samples to be
thrown away can be found in the Seek Pre Roll element of the WebM
container. This CL makes use of that value to throw away those
samples after decoding whenever a seek happens and adjusts the
timestamp accordingly.

TEST=media unittests still pass

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225319 0039d316-1c4b-4281-b951-d872f2087c98
Clean up duplicate code in gpu_benchmarking_extensions.cc.

Introduce GpuBenchmarkingContext class which is used to initialize various
variables needed by most functions in this file. Only initialize compositor
variable if needed.

The previous version of this patch (https://codereview.chromium.org/23531046/)
caused failures because we always initialized the compositor. This can cause
problems if the browser is running in software mode, in which case there is no
compositor. By only initializing the compositor variable if needed the code more
closely mirrors the original code.

BUG=287720

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225320 0039d316-1c4b-4281-b951-d872f2087c98
Make developerPrivate API available in stable.

BUG=297287

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

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