app_list: Drive app integration.

- DriveAppProvider to map Drive apps to chrome apps or local url apps;
- DriveAppMapping to track the mapped chrome apps;
- DriveServiceBridge to wrap DriveAPIService and DriveAppRegistry to
  provide the user Drive apps info;
- Put feature behind "--enable-drive-apps-in-app-list";

BUG=358791,345066
TEST=DriveAppProviderTest.*:DriveAppMappingTest.*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278265 0039d316-1c4b-4281-b951-d872f2087c98
[Mac] App shim error test.

Split out from http://crrev.com/265163006.

CQ has issues committing executables, so dcommitting this part.

TBR=tapted@chromium.org

BUG=353047

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278266 0039d316-1c4b-4281-b951-d872f2087c98
Wait for CRD daemon process to be killed before returning.

This should mean that "/etc/init.d/chrome-remote-desktop restart" will
stop the service and won't try to start it again until the daemon is
killed.

A timeout is used to make sure that system shutdown is not paused
indefinitely if the daemon is unkillable.

Note that, since the daemon is not a child process, os.waitpid() cannot
be used for this. The psutil Python module is used instead. Some other
parts of the script have been updated as well to use psutil methods.
This is slightly safer, as psutil has some PID-reuse detection built in.

BUG=334437

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278267 0039d316-1c4b-4281-b951-d872f2087c98
Exlucde more test that times out on TSAN

BUG=385222
TBR=glider@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278268 0039d316-1c4b-4281-b951-d872f2087c98
Fix flakiness in AccessibilityFeaturesApiTest.Set tests

The problem with tests was that spoken feedback was getting enabled just
before loading the test extension. This would cause two extensions being
loaded: ChromeVox extension (which gets loaded when spoken feedback is
enabled) and the test extension. This is situation extension API tests
don't handle well. They wait for the test extension to get loaded by
waiting for any EXTENSION_LOADED notification. If the ChromeVox extension
got loaded before the test extension, the extension api test would continue
running too soon (before the test extension was loaded), and fail when the
test extension could not be found in extension set by its path.

To avoid that, keep spoken feedback disabled at the start of the test
(which should ensure that the ChromeVox extension doesn't get loaded while
the test extension is loading).

BUG=384266

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278269 0039d316-1c4b-4281-b951-d872f2087c98
Suppress memory leak in HostResolverImplChromeOS

BUG=386418
TBR=stevenjb@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278270 0039d316-1c4b-4281-b951-d872f2087c98
Use a faster rolling fixed Clang revision for ASan on Windows

We want a fixed Clang revision for ASan on Windows because ClusterFuzz
produces archived builds.  We don't want Clang to change underfoot and
produce a bad Chromium build that gets archived.

Long term, when ASan for Windows stabilizes, we should remove this
extra fixed revision and use the mainline Chromium revision.  For now,
we don't build with -Werror with Clang on Windows, so it isn't as
important to be in sync with other platforms.

R=thakis@chromium.org
BUG=82385, 345874
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278271 0039d316-1c4b-4281-b951-d872f2087c98
telemetry: Fix key_silk_cases page whose content was offscreen

This fixes a key_silk_cases page whose content was moved offscreen
on phone-sized Android devices by the addition of a viewport tag
(for triggering GPU rasterization), causing the smoothness
benchmark to fail on these devices.

BUG=381368

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278272 0039d316-1c4b-4281-b951-d872f2087c98
Prevents windows that cannot snap from snapping using a keyboard accelerator

BUG=386254
TEST=Open a non-resizable app such as a calculator. Alt+] should not snap it.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278273 0039d316-1c4b-4281-b951-d872f2087c98
[webcrypto] Don't execute cancelled crypto operations.

BUG=375430

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278274 0039d316-1c4b-4281-b951-d872f2087c98
Check in chrome/app/address_input_strings.grdp.

This patch checks in chrome/app/address_input_strings.grdp and does not
update it in "gclient runhooks".

BUG=327046

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278279 0039d316-1c4b-4281-b951-d872f2087c98
Android: cleanup old perf sharding list.

All dependent patches have landed and cycled,
remove support for the old format.

BUG=378862

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278280 0039d316-1c4b-4281-b951-d872f2087c98
Pepper: Add latency calculation to ppapi/examples/video_decode.

Also, flip picture vertically (it was upside down).

BUG=281689

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278281 0039d316-1c4b-4281-b951-d872f2087c98
Move const string declaration into #ifdef USE_GIO block

The string is only used in that block, causing Clang errors when USE_GIO
isn't defined.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278282 0039d316-1c4b-4281-b951-d872f2087c98
Show spinner for constrained signin flow

and change the spinner background color to the same as EmbeddedSignin, otherwise user may see flicker.

BUG=385876

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278283 0039d316-1c4b-4281-b951-d872f2087c98
Disables the testOnPageFinishedCalledAfterError test (it appears to be flaky).

BUG=386300
TBR=mnaganov@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278284 0039d316-1c4b-4281-b951-d872f2087c98
Use TestBrowserThreadBundle instead of TestBrowserThread in sync code.

Replacing use of TestBrowserThread because it is deprecated and harder
to use correctly.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278285 0039d316-1c4b-4281-b951-d872f2087c98
Only assign enhanced bookmarks metainfo ID if not already present

Fixes the case where this code path is executed via sync and an ID has
already been assigned.

BUG=383557

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278286 0039d316-1c4b-4281-b951-d872f2087c98
Remove the inheritance from PageTestResults to unittest.TestResult.

BUG=383100

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278287 0039d316-1c4b-4281-b951-d872f2087c98
Rendering context information added to SharedQuadState

Context IDs given to DrawQuads to identify when a rendering context
changes, and whether or not a DrawQuad is in a 3D sorting context.

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

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