Adding EXPECT_NO_ACTION macro for better output when an action is generated.

BUG=371223

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

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

MetricsService, along with prefs that it uses, is moved into the Metrics
component.

A later CL will move MetricsService (and all other code in the metrics
component) into the metrics namespace.

BUG=374198
TBR=jochen

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276229 0039d316-1c4b-4281-b951-d872f2087c98
Add error code to bottom of non-overridable ssl interstitial

1. Adds the neterror code to the bottom of the non-overridable SSL interstitial, for the sake of debugging when users send screenshots.

2. Renames loadTimeData to load_time_data in c++ because it's been driving me nuts.

BUG=349652
everything passed except for a flake on win_chromium_x64_rel:
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276230 0039d316-1c4b-4281-b951-d872f2087c98
Make javac.py output colorful

This highlights warnings in yellow, errors in red(ish), and the ^ marker
in blue.

Adds stdout_filter and stderr_filter to build_utils.CheckOutput. If the
caller handled this themselves they would need to print stdout/stderr
themselves and modify the value stored in the ProcessCalledException.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276231 0039d316-1c4b-4281-b951-d872f2087c98
Make accessibility unserialization error crash the browser in order to debug.

I want to find out why we're getting this error, there are a lot of crashes
but it's hard to repro locally. Instead of sending an IPC to crash the renderer
when something goes wrong, this will make it just crash the browser instead
and then we'll learn more from the crash dump.

BUG=372478
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276232 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Skia roll 5713352:2d2a68c (https://codereview.chromium.org/321083005/)

Reason for revert:
Causing several canvas layout tests to fail on every platform in Blink:
virtual/gpu/canvas/philip/tests/2d.shadow.enable.blur.html
virtual/gpu/fast/canvas/canvas-createPattern-fillRect-shadow.html
virtual/gpu/fast/canvas/canvas-draw-canvas-on-canvas-shadow.html
virtual/gpu/fast/canvas/canvas-drawImage-shadow.html
virtual/gpu/fast/canvas/canvas-fillRect-gradient-shadow.html
virtual/gpu/fast/canvas/canvas-fillRect-shadow.html
virtual/gpu/fast/canvas/canvas-incremental-repaint.html
virtual/gpu/fast/canvas/canvas-scale-drawImage-shadow.html
virtual/gpu/fast/canvas/canvas-scale-fillPath-shadow.html
virtual/gpu/fast/canvas/canvas-scale-fillRect-shadow.html
virtual/gpu/fast/canvas/canvas-scale-shadowBlur.html
virtual/gpu/fast/canvas/canvas-shadow.html
virtual/gpu/fast/canvas/canvas-transforms-fillRect-shadow.html

Original issue's description:
> Skia roll 5713352:2d2a68c
> 
> https://skia.googlesource.com/skia/+log/5713352a64936428d37a721382d021f4a9002172..2d2a68c51b4a71bd60760510bf2b2e58bc9890b2
> TBR=scroggo@google.com
> NOTRY=true
> BUG=
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276176

TBR=scroggo@google.com,skia-deps-roller@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276234 0039d316-1c4b-4281-b951-d872f2087c98
LKCR w/ DEPS up to revision 276220
LKCR w/ DEPS up to revision 276226
Updating trunk VERSION from 2043.0 to 2044.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276236 0039d316-1c4b-4281-b951-d872f2087c98
Revert 276232 "Make accessibility unserialization error crash th..."

> Make accessibility unserialization error crash the browser in order to debug.
> 
> I want to find out why we're getting this error, there are a lot of crashes
> but it's hard to repro locally. Instead of sending an IPC to crash the renderer
> when something goes wrong, this will make it just crash the browser instead
> and then we'll learn more from the crash dump.
> 
> BUG=372478
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/322163002

TBR=dmazzoni@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276239 0039d316-1c4b-4281-b951-d872f2087c98
Adds documentation link to image_writer_private.idl

BUG=381472

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276243 0039d316-1c4b-4281-b951-d872f2087c98
Fix rtl rendering in DropdownPopupWindow

There seems to be a bug where the text of a TextView occasionally vanishes if the text is rtl.

BUG=378268

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276244 0039d316-1c4b-4281-b951-d872f2087c98
Fix DropdownPopupWindow to clean up on dismiss

DropdownPopupWindow.dismiss wasn't being called when ListPopupWindow closed itself (when clicked outside the popup).

BUG=381549

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276245 0039d316-1c4b-4281-b951-d872f2087c98
Add accessibility string for reloading a page

BUG=379234

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276246 0039d316-1c4b-4281-b951-d872f2087c98
LKCR w/ DEPS up to revision 276233
Make the config_ member of QuicStreamFactory const to prevent bugs
resulting from mutating config_ instead of config.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276250 0039d316-1c4b-4281-b951-d872f2087c98
Plumb file system permission into WebviewGuest.

Two remaining issues:
1. It seems that WebviewGuest doesn't support SharedWorker yet, so this CL
   doesn't include the changes for SharedWorker.
2. To request file system access for operations like getFile(), removeFile() etc., I have to set "unlimitedstorage"
   permission in manifest.json, otherwise will get QuotaExceededError (request persistent storage without "unlimitedstorage" permission). Any idea?  


BUG=343382

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276251 0039d316-1c4b-4281-b951-d872f2087c98
Clear Key CDM to generate close event when session is closed.

The current EME spec separates closing a session ("allows an application
to indicate that it no longer needs the session") and the actual closing
of the session (done by the CDM at any point "such as in response to a
close() call, when the session is no longer needed, or when system
resources are lost.") Update Clear Key to generate the close event when
the session is closed, as Clear Key does not distinguish between the two.

For unprefixed EME calls, promises are not yet implemented in blink, so
this results in 2 close events, which isn't handled properly. The second
close event will not be passed to blink until blink is updated to use
promises.

For prefixed EME calls, the second close event will always be ignored.

BUG=224791
TEST=existing EME tests pass

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276252 0039d316-1c4b-4281-b951-d872f2087c98
Don't advertise SDCH for post requests.

BUG=382626
R=jar@chromium.org

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

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