ClangFormat a constructor's initializer list; update variable name.

RenameTime was originally only used in retrying a rename. Now it is used to
retry other operations as well.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200941 0039d316-1c4b-4281-b951-d872f2087c98
[Chromoting] Refactored worker process launching code and speeded up the desktop process launch.

This CL reduces time needed to start the desktop process in the user's session. The speed up is archieved by:
- Not using elevation on Win7 and below. Elevation is still required on Win8 in order to be able to inject Alt+Tab.
- If a launch attempt failed because of the job object not being ready, it is retried immediately after the job object is fully initialized.
- The initial delay when retrying a failed launch attempt reduced to 100ms.

Refactoring changes:
- Converted WorkerProcessLauncher classes into a single-threaded, synchronous class.
- Refactored and cleaned up the WorkerProcessLauncher::Delegate interface. The delegate can now launch the worker process asynchronously. Asynchronous events are reported by calling methods of WorkerProcessLauncher.
- WtsSessionProcessDelegate now uses GetNamedPipeClientProcessId() function to obtain the client's PID. The job object is still used to contain worker processes if there are more than one.
- WorkerProcessLauncher now limits time the worker process should start and connect back to 5 seconds.
- Handling of permanent exits codes was moved to WorkerProcessLauncher.
- WorkerProcessLauncher::Delegate now exposes the worker's handle instead of PID.

BUG=238821
TEST=remoting_unittests.WorkerProcessLauncherTest.*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200942 0039d316-1c4b-4281-b951-d872f2087c98
Make BitmapContentLayerUpdater free its SkCanvas

Free the SkCanvases when the tab is backgrounded.

Reference count the SkCanvas in the upload queue
so that it is not deleted while pending uploads are
using it.

BUG=230922

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200943 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Allow a URL, file or directory to be passed for a page set.

Now we understand all of the following:
$ tools/perf/run_multipage_benchmarks --browser=release page_cycler tools/perf/page_sets/page_cycler/moz.json
$ tools/perf/run_multipage_benchmarks --browser=release page_cycler http://www.google.com/
$ tools/perf/run_multipage_benchmarks --browser=release page_cycler data/page_cycler/moz/bugzilla.mozilla.org/index.html
$ tools/perf/run_multipage_benchmarks --browser=release page_cycler data/page_cycler/moz/bugzilla.mozilla.org

BUG=None
TEST=All new permutations on linux
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200944 0039d316-1c4b-4281-b951-d872f2087c98
Move the plugin_list files to the plugins_common target.

The PluginList class depends on platform specific implementations of the ReadWebPluginInfo
function. This function was defined and implemented by the PluginLib class which iivs in the
plugin target. I moved this function to the PluginList class and deleted the platform specific
incarnations of the PluginLib class which only existed for this functionality.

Next step would be to link with plugin_common only in the chrome_browser target and to move the
common plugin files to the webkit\common folder.

BUG=237249
R=jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200946 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Create a tools/perf/run_measurement script.

This script will be used for running a measurement with a page set, file or URL.

It will be a backend for the forthcoming tools/perf/run_benchmark.

BUG=237412
TEST=tools/perf/run_measurement --browser=release page_cycler tools/perf/page_sets/page_cycler/moz.json
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200947 0039d316-1c4b-4281-b951-d872f2087c98
Valgrind: Speculatively disable VideoCaptureHostTest on Mac.

BUG=241919
TBR=groby
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200948 0039d316-1c4b-4281-b951-d872f2087c98
Apply clone() restrictions only on amd64 temporarily.

BUG=241967
TEST=YouTube, Robot Unicorn Attack.
TBR=cevans
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200949 0039d316-1c4b-4281-b951-d872f2087c98
Unflip 'autocheckout supported' bit on provisional page load. Leaving it set was causing trouble when moving from one Autocheckout flow to another in the same tab.

BUG=241294

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200950 0039d316-1c4b-4281-b951-d872f2087c98
[rAC] remove sign-in cancel button. Instead, reuse signin link

R=sail@chromium.org
BUG=239865,240011

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200951 0039d316-1c4b-4281-b951-d872f2087c98
ui: Inline QuadF::BoundingBox()

This is a hot method, used every time we map a rect from one space
to another, which accounts for a significant amount of total work
done by the compositor.

This change is a small perf improvement in cc_perftests, taking
the ImplSidePaintingPerfTest.HeavyPage test from about
0.97 ms/commit to about 0.94 ms/commit.

R=sky
BUG=239684

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200952 0039d316-1c4b-4281-b951-d872f2087c98
Fix the ash_shell check fail issue caused by PowerManagerHandler not initialized.

BUG=241690
TBR=sky

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200953 0039d316-1c4b-4281-b951-d872f2087c98
Revert "InstantExtended: Prevent spurious themechanged/mostvisitedchanged events"

This reverts commit 9fa73739c47280860c0e5a44af62885bee391e12.

BUG=238671

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200954 0039d316-1c4b-4281-b951-d872f2087c98
Change code from r199587 to use base::PostTaskAndReplyWithResults.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200955 0039d316-1c4b-4281-b951-d872f2087c98
Local NTP: resize the fakebox and most visited widths with JS.  Use innerWidth instead of clientWidth to take scrollbar width into account.

BUG=240510

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200956 0039d316-1c4b-4281-b951-d872f2087c98
Unify and change logout/sleep/lock shortcuts

This CL implements an exit warning and requires the user to hold
the exit shortcut for a while, before actually exiting. This is
to prevent accidental exits due shortcut mistakes.

Expert user can exit quickly with a double press.

This is a second CL on this topic (see crrev.com/200204). The first
had issues by relying on release events, which this CL does not.

BUG=225903
R=sky@chromium.org
TEST=manual
out/Debug/ash_unittests --gtest_filter='AcceleratorControllerTest.ExitWarningHandlerTest*'

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200957 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Fix proguard

Gyp supports only very limited ways of changing behavior based upon
CONFIGURATION_NAME. Particularly, it does not support the way that was
supposed to enable/disable use of proguard.

Instead of trying to switch behavior in gyp, instead pass
CONFIGURATION_NAME, proguard_enabled, and
proguard_enabled_dex_input_path to dex.py and switch the behavior
there.

This also extracts the dex actions into build/android/dex_action.gypi
and uses that for the actions in both build/java.gypi and
build/java_apk.gypi.

BUG=240837

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200960 0039d316-1c4b-4281-b951-d872f2087c98
Revert 200954 "Revert "InstantExtended: Prevent spurious themech..."
200954 breaks mac interactive_ui_tests:InstantExtendedTest.ReloadSearchAfterBackReloadsCorrectQuery

> Revert "InstantExtended: Prevent spurious themechanged/mostvisitedchanged events"
> 
> This reverts commit 9fa73739c47280860c0e5a44af62885bee391e12.
> 
> BUG=238671
> 
> Review URL: https://chromiumcodereview.appspot.com/15297013

TBR=jered@chromium.org

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

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

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