[Telemetry] Fix power monitor negative c-state residency percentages.

Due to the latency of running separate shell commands, the length of a test
could sometimes be largely incorrect with respect to the cpu idle sample
times, causing c-state residency percent of some states to be several
points below zero.

BUG=336561

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

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

BUG=388504
TEST=build
TBR=sky@chromium.org for include fix under chrome/browser

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289619 0039d316-1c4b-4281-b951-d872f2087c98
Add owner for DOM Distiller quality histogram.

TBR=asvitkine@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289620 0039d316-1c4b-4281-b951-d872f2087c98
Video Player: Disables cast feature by default

The feature will work only when the flag is on.

BUG=305511
TEST=Confirms the cast icon doesn't appear when the flag is off.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289621 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Add more unit tests for FileOperationManager class.

The CL adds tests for 

 * Copy
 * Delete
 * Zip

operations of the class.

BUG=315439
TEST=run the test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289622 0039d316-1c4b-4281-b951-d872f2087c98
Accept invalid Schemas for the managed storage API.

Extensions won't get installed if they declare a managed storage schema
and the schema is invalid. But if the schema is modified or deleted
after the extension is installed then this CHECK will be hit whenever
Chrome restarts.

If the schema is modified or becomes invalid then the managed storage
API won't pickup the right policies for the extension, but that's
better than crashing the browser.

BUG=399208

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289623 0039d316-1c4b-4281-b951-d872f2087c98
Adding atomic ops for MIPS64.

This change adds atomic operations for MIPS64.

BUG=400684

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289624 0039d316-1c4b-4281-b951-d872f2087c98
Experimentally isolate GetOpenFileName in a utility process.

GetOpenFileName can cause 3rd-party shell extensions to be loaded into the caller's process. By putting it in a separate process we protect the browser process from potential instability.

BUG=73098

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289625 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Get rid of some unneeded namespace qualifiers in mojo/embedder/.

R=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289627 0039d316-1c4b-4281-b951-d872f2087c98
Disable MSE_ClearKey/EncryptedMediaTest.Playback_VideoOnly_WebM/0 as its failing often.

BUG=402766
TBR=xhwang@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289628 0039d316-1c4b-4281-b951-d872f2087c98
Avoid using an empty scopes set when requesting an OAuth2 access token.

Usign an empty scopes set leads to a server response "code: BAD_REQUEST,
http status: 400, MISSING_SCOPE" on iOS. This CL uses a non-empty
scopes set for the account id tracker.

BUG=NONE

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289630 0039d316-1c4b-4281-b951-d872f2087c98
Remove no-op FLAKY_ prefix from BrowsingDataRemovalMask test

This prefix was added in https://src.chromium.org/viewvc/chrome?revision=207246&view=revision,
and even then it was a no-op. Despite the no-op-ness, the test flakiness
was fixed over a year ago (see bug).

Now the prefix serves only to it only serves to confuse sheriff-o-matic.

BUG=251742
TBR=ojan@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289631 0039d316-1c4b-4281-b951-d872f2087c98
Disable PluginTest.Quicktime. It sometimes flakes like

http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/1633

BUG=55915
TBR=avi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289632 0039d316-1c4b-4281-b951-d872f2087c98
Battery Status API: implementation for Windows.

Implementation of the Battery Status API for the Windows platform.
Implementation uses a message window to receive battery notifications.
On versions prior to Vista there is limited support as the
RegisterPowerSettingNotification function is not available.

BUG=122593
TEST=http://jsbin.com/battery-status-test (manual)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289634 0039d316-1c4b-4281-b951-d872f2087c98
[Mac, Win] Only show the user manager tutorial if "See what's new" is clicked.

- remove the profile preference that used to keep track of showing the
tutorial any time the user manager was shown for a particular profile.

- show the upgrade bubble for local profiles as well (so that local profiles
have a chance to see the tutorial)

- for the local profiles upgrade bubble, don't show the "Not you?" link as
it doesn't really make sense.

BUG=399679
TBR=rpetterson@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288817

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289005

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289636 0039d316-1c4b-4281-b951-d872f2087c98
The password manager python tests now logout from websites by cleaning 
the cookies.
Before, in the password manager python tests, each website had its
own way to logout (ex: click on a button or follow a link). This cl
allows to have the same logout mechanism for all the websites
thought cleaning cookies because this makes creating and maintaining
tests simpler. It makes also the tests more robust.

TBR=vabr@chromium.org
BUG=403746

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289637 0039d316-1c4b-4281-b951-d872f2087c98
Disable BookmarkBarViewTest17.ContextMenus3 as it's flaky.

I see it sometimes failing on try jobs even with reruns. i.e.
http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/1619
http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/1672

BUG=128961
TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289638 0039d316-1c4b-4281-b951-d872f2087c98
Fixed misuse of GetProfileByUser in MultiProfileUserController.

GetProfileByUserUnsafe was called to yearly sometimes, when profile was not
created yet. I replaced GetProfileByUserUnsafe with GetProfileByUser and added
check that it is not NULL.

BUG=361528

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289639 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 180191:180219

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=180192:180219&mode=html
TBR=zerny@chromium.org,adamk@chromium.org
BUG=

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

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

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