Added cloud policy registration and fetch types for iOS.

The --fake-cloud-policy-type flag has also been enabled for iOS, for testing
purposes.

BUG=285084

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221359 0039d316-1c4b-4281-b951-d872f2087c98
Enable user assign media keys in chrome://extensions page.

BUG=131612

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221360 0039d316-1c4b-4281-b951-d872f2087c98
Run commands in the mini_installer test framework from the framework's directory.

The framework ran commands from the current working directory. Make it run commands from the framework's directory.

NOTRY=True 
BUG=264859
1) Uninstall Chrome (if it's installed.)
2) Build Chrome with Release mode and make sure that mini_installer.exe is created.
3) Go to src\chrome\test\mini_installer
4) Run "python test_installer.py config\config.config --build-dir=<build-dir> --target=Release" where <build-dir> is the path to main build directory (the parent of the Release directory). The test should pass.
5) Go to src\chrome\test
6) Run "python mini_installer\test_installer.py mini_installer\config\config.config --build-dir=<build-dir> --target=Release". The test should pass.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221361 0039d316-1c4b-4281-b951-d872f2087c98
Uninstall Chrome silently in the mini_installer test framework.

When the framework tried to uninstall Chrome, it would prompt the user with a dialog box saying that "Are you sure you want to uninstall Google Chrome? [ ] Also delete your browsing data?". This required a user action. Make it uninstall Chrome silently by using the --force-uninstall option.

NOTRY=True 
BUG=264859
1) Uninstall Chrome (if it's installed.) 
2) Build Chrome with Release mode and make sure that mini_installer.exe is created. 
3) Go to src\chrome\test\mini_installer 
4) Run "python test_installer.py config\config.config --build-dir=<build-dir> --target=Release" where <build-dir> is the path to main build directory (the parent of the Release directory). The test should pass without requiring you to click anything.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221362 0039d316-1c4b-4281-b951-d872f2087c98
Misc clean up for Drive API service and requests.

- Remove unused ContinueGetFileListRequest.
- Remove unused Parse functions from drive_api_service.
- Rename remaining "Parse" functions in drive_api_service to "Convert"
  functions to adapt its behavior more.

BUG=277253, 275233
TEST=Ran unit_tests
R=kinaba@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221363 0039d316-1c4b-4281-b951-d872f2087c98
Revert 221185 "Worked around bug with gtest filters on Linux."

The bug we were working around has been fixed, so we can safely revert this workaround.

BUG=285051

> Worked around bug with gtest filters on Linux.
> 
> We have temporarily disabled all WebRTC content_browsertests on Linux. This causes our custom build steps to hang because they no longer select any test cases on Linux, triggering bug 285051. This works around that bug so we don't have to disable the step and restart all our masters.
> 
> BUG=285051
> TBR=tommi@chromium.org
> NOTRY=True
> 
> Review URL: https://codereview.chromium.org/23513014

TBR=phoglund@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221364 0039d316-1c4b-4281-b951-d872f2087c98
drive: CreateDirectory should only wait for its parent directory's load.

Previously it was waiting for the full Drive tree to load,
which takes unnecessarily long time.

BUG=283901
R=hidehiko@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221365 0039d316-1c4b-4281-b951-d872f2087c98
Add a hack to allow us to disable extension garbage collection.
This allows us to disable extension garbage collection for the kiosk mode screensaver extension.

See associated bug for details.

R=asargent@chromium.org
BUG=280363
TEST=Screensaver plays through and loops in retail kiosk mode.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221366 0039d316-1c4b-4281-b951-d872f2087c98
Replace directly use of DriveIntegrationService to drive::util::Get{DriveService,FileSystem}ByProfile.

As preparation to start returning DriveIntegrationService instance always by
DriveIntegrationServiceFactory::GetForProfile, this reduces its direct
usage.

BUG=284972
TEST=Ran unit_tests
R=satorux@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221367 0039d316-1c4b-4281-b951-d872f2087c98
Revert 221306 "Blink roll 157244:157250"

> Blink roll 157244:157250
> 
> http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=157245:157250&mode=html
> TBR=
> BUG=
> 
> Review URL: https://codereview.chromium.org/23499009
Blink commit r157177 broke builds for ChromeOS, because of a missing include:
third_party/WebKit/Source/core/platform/audio/DenormalDisabler.h:114:27: error: 'FLT_MIN' was not declared in this scope

See also http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28daisy%29/builds/12414/steps/cbuildbot/logs/stdio

TBR=aboxhall@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221375 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 157250:157284

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=157251:157284&mode=html
TBR=
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221378 0039d316-1c4b-4281-b951-d872f2087c98
Use Finch to compare the performances of CLD1 and CLD2

Add a compile time constant CLD_VERSION, which indicates the version of CLD. If this is not define, Finch test to compare CLD1 and CLD2 is supposed to be used.

By this CL, each platform will have the below status:

Linux:    Use both CLD1 and CLD2 (and use Finch).
Mac OS X: Use both CLD1 and CLD2 (and use Finch).
Windows:  Use only CLD1 once because now CLD2 can't be compiled on Windows. After we can have CLD2 compiled on Windows, we will use CLD2 and Finch asap.
iOS:      Still use only CLD1. (It's because it is hard to use both CLD1 and CLD2 on mobile platform because of the binary size impact.)
Android:  Still use only CLD1. (The same reason as iOS)

So some platforms will have two CLD binaries, but this is temporal in the sense that we intend to use Finch only for Dev and Beta channel. Before releasing the stable Chromium version, we decide which version of CLD is adopted, make another CL to use only one CLD, and send a merge request. (Of course, we hope we will be able to adopt CLD2.)

BUG=240647

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221380 0039d316-1c4b-4281-b951-d872f2087c98
[SystemInfo API] Implement DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform method for Linux GTK.

Also rename display_info_provider_x11 to display_info_provider_linux for
better understand.

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221381 0039d316-1c4b-4281-b951-d872f2087c98
Graceful shutdown of UsbService.

Enable the exit observer for NOTIFICATION_APP_TERMINATING.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221382 0039d316-1c4b-4281-b951-d872f2087c98
[SyncFS] Implement Database initialization part of SyncEngineInitializer

BUG=240165

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221383 0039d316-1c4b-4281-b951-d872f2087c98
Dispatch FileSystemOperationRunner callbacks always synchronously

- Re-post callbacks only if they are called synchronously
- Always return a valid operation ID (even if it's finished immediately)
- Fix cancel callbacks ordering

BUG=279288
TEST=existing tests
TBR=hidehiko@chromium.org, tzik@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221384 0039d316-1c4b-4281-b951-d872f2087c98
Revert 221377 "Blink roll 157250:157284"

> Blink roll 157250:157284
> 
> http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=157251:157284&mode=html
> TBR=
> BUG=
> 
> Review URL: https://codereview.chromium.org/23536027

Blink commit r157177 broke builds for ChromeOS, because of a missing include:
third_party/WebKit/Source/core/platform/audio/DenormalDisabler.h:114:27: error: 'FLT_MIN' was not declared in this scope

See also http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28daisy%29/builds/12414/steps/cbuildbot/logs/stdio

TBR=eustas@chromium.org

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

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

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