Revert of Revert of Revert of Remove threading from RendererGpuVideoAcceleratorFactories (https://codereview.chromium.org/135393004/)

Reason for revert:
It turned out the reverting the patchset was effective after all, so I am reverting the revert of the revert.

Original issue's description:
> Revert of Revert of Remove threading from RendererGpuVideoAcceleratorFactories (https://codereview.chromium.org/145103004/)
> 
> Reason for revert:
> Reverting the revert as it did not fix the failures.
> 
> Original issue's description:
> > Revert of Remove threading from RendererGpuVideoAcceleratorFactories (https://codereview.chromium.org/27420004/)
> > 
> > Reason for revert:
> > Sorry, it looks like you broke the Win 7 Tests (dbg)(2) bot. http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%282%29/builds/19785
> > 
> > Original issue's description:
> > > This change removes all the threading considerations from
> > > GpuVideoAcceleratorFactories (and its implementation,
> > > RendererGpuVideoAcceleratorFactories).  Most notably, it removes Abort() and
> > > associated functions and state.  And with the removal of Abort() and friends,
> > > we can also remove its Clone() interface.
> > > 
> > > All of the previously abortable operations on the RGVAF (with the exception of
> > > ReadPixels()) can be made non-abortable, with no functional difference, due to
> > > the way the users of RGVAF function.  These three users are
> > > WebMediaPlayerImpl/GpuVideoDecoder, RTCVideoDecoder, and RTCVideoEncoder, and
> > > they can be made non-abortable because:
> > > 
> > > WebMediaPlayerImpl/GpuVideoDecoder:
> > > * Abort() is called from WebMediaPlayerImpl::Destroy().  It has no effect, as:
> > >   * All the RGVAF entry points are called from the the RGVAF message loop
> > >     from GpuVideoDecoder (except for ReadPixels()), so the Abort() has no
> > >     effect on them.
> > > 
> > > RTCVideoDecoder:
> > > * Abort() is called from RTCVideoDecoder::WillDestroyCurrentMessageLoop() for
> > >   the RGVAF message loop.  It has no effect, as:
> > >   * Amost all the RGVAF entry points are called from the RGVAF message loop
> > >     (except for ReadPixels()), so Abort() has no effect on them.
> > >   * The other exception is CreateVideoDecodeAccelerator(), which is called from
> > >     RTC's main thread.  But as the Abort() is called from
> > >     WillDestroyCurrentMessageLoop() for the RGVAF message loop itself, it is
> > >     guaranteed to occur after any tasks posted to the RGVAF message loop by
> > >     CreateVideoDecodeAccelerator() has completed, and so the Abort() has no
> > >     effect.
> > > 
> > > RTCVideoEncoder:
> > > * Abort() is called from RTCVideoDecoder::Release().  It has no effect, as:
> > >   * All the RGVAF entry points are called from the RGVAF message loop.
> > > 
> > > The only functional difference remaining is that making ReadPixels()
> > > non-abortable.  This is preferable, as as long as a completed video accelerator
> > > texture is available, it should be readable.  We also specify that all calls to
> > > ReadPixels must be made on the RGVAF message loop, like all other entry points,
> > > and leave it up to the users of ReadPixels() to handle thread trampolining if
> > > necessary.
> > > 
> > > BUG=306333
> > > TEST=local build, run on CrOS snow; build, run unittests on desktop Linux
> > > 
> > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247480
> > 
> > TBR=fischman@chromium.org,wuchengli@chromium.org,jamesr@chromium.org,jam@chromium.org,hshi@chromium.org,sheu@chromium.org
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=306333
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247655
> 
> TBR=fischman@chromium.org,wuchengli@chromium.org,jamesr@chromium.org,jam@chromium.org,hshi@chromium.org,sheu@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=306333
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247662

TBR=fischman@chromium.org,wuchengli@chromium.org,jamesr@chromium.org,jam@chromium.org,hshi@chromium.org,sheu@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=306333

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247669 0039d316-1c4b-4281-b951-d872f2087c98
Increase default stack size on Android with ASan to 2Mb.

BUG=263749,325685
TEST=cc_unittests on ASan/Android bot
R=glider@chromium.org, thakis@chromium.org, bulach@chromium.org, navabi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247670 0039d316-1c4b-4281-b951-d872f2087c98
Update asan_symbolize script to work with new logcat format.

Also works with unprefixed reports.

BUG=325685
R=glider@chromium.org, bulach@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247673 0039d316-1c4b-4281-b951-d872f2087c98
Create fileapi/ subdirectory under c/b/cros/drive.

We have quite a few number (12) of files for providing interfaces
to FileSystem API. They can be clearly separated from other
files under drive/.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247674 0039d316-1c4b-4281-b951-d872f2087c98
Add support for showing CSS with distilled articles.

Adds the Readability CSS and also makes the DOM Distiller viewer load it.

BUG=319881

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247675 0039d316-1c4b-4281-b951-d872f2087c98
Unify desktop and Android tab helper instantiation.

BUG=337600
TEST=zero visible change

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247676 0039d316-1c4b-4281-b951-d872f2087c98
Update asan_device_setup script to LLVM r200382.

BUG=325685
R=pliard@chromium.org, bulach@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247677 0039d316-1c4b-4281-b951-d872f2087c98
Shutdown button tooltip string  changed for consistency.

BUG=331712
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247678 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup: Fix some lint/style errors in extensions code.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247680 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Unify desktop and Android tab helper instantiation. (https://codereview.chromium.org/144443003/)

Reason for revert:
This causes Clank to crash at startup, and makes tests fail http://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/11575

Tried the revert locally, and Clank started normally.

Original issue's description:
> Unify desktop and Android tab helper instantiation.
> 
> BUG=337600
> TEST=zero visible change
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247676

TBR=yfriedman@chromium.org,jam@chromium.org,avi@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=337600

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

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

utils.expose now accepts a third parameter (readonly properties).

BUG=324859

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247683 0039d316-1c4b-4281-b951-d872f2087c98
Pinch/Zoom Infrastructure & Plumbing CL

This CL supplies the necessary changes to CC to support the
inner/outer viewport model for pinch-zoom and fixed-position
elements. The specification for these changes is contained in
the document "Layer-based Solution for Pinch Zoom / Fixed
Position".

It incorporates a change to how scrollbar parameters are
computed (removes the notion of max_scroll_offset as a
quantity set be the embedder, and instead inferred from the
relative sizes of a clip layer w.r.t. the scroll layer).

Scrollbars are generalized so that a layer may have more than
two scrollbars, and the parameters of the scrollbar are set
w.r.t. the sizes and positions of a clip and a scroll layer.
Further, changes to the scrip/scroll layer automatically
notify any attached scrollbars.

The CL also removes existing references to root_scroll_layer
from LTH, LTI and LTHI and replaces them with either
Inner/OuterViewportScrollLayer (dual-layer operation only
exists at present if the --enable-pinch-virtual-viewport flag
is specified, otherwise behavior is unchanged).

Logic is added to (i) combine scroll offsets for the two
viewports before passing it to the embedder, and (ii)
splitting any offsets received from the embedder
appropriately between the two viewports.

This CL relies on https://codereview.chromium.org/138453004/
for changes in Blink to support it.

BUG=148816

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

R=aelias@chromium.org, enne@chromium.org, joi@chromium.org, piman@chromium.org, sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247684 0039d316-1c4b-4281-b951-d872f2087c98
Certificate Transparency: Enhance the CT log flag for multiple logs

Allow specifying multiple CT logs through the command line. This is
necessary in order to allow testing of multiple new logs at the same
time.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247685 0039d316-1c4b-4281-b951-d872f2087c98
Update V8 to version 3.24.26 (based on bleeding_edge revision r18894).

TBR=jkummerow@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247687 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Pinch/Zoom Infrastructure & Plumbing CL (https://codereview.chromium.org/23983047/)

Reason for revert:
Broke Linux ASAN Tests (3) bot.

Original issue's description:
> Pinch/Zoom Infrastructure & Plumbing CL
> 
> This CL supplies the necessary changes to CC to support the
> inner/outer viewport model for pinch-zoom and fixed-position
> elements. The specification for these changes is contained in
> the document "Layer-based Solution for Pinch Zoom / Fixed
> Position".
> 
> It incorporates a change to how scrollbar parameters are
> computed (removes the notion of max_scroll_offset as a
> quantity set be the embedder, and instead inferred from the
> relative sizes of a clip layer w.r.t. the scroll layer).
> 
> Scrollbars are generalized so that a layer may have more than
> two scrollbars, and the parameters of the scrollbar are set
> w.r.t. the sizes and positions of a clip and a scroll layer.
> Further, changes to the scrip/scroll layer automatically
> notify any attached scrollbars.
> 
> The CL also removes existing references to root_scroll_layer
> from LTH, LTI and LTHI and replaces them with either
> Inner/OuterViewportScrollLayer (dual-layer operation only
> exists at present if the --enable-pinch-virtual-viewport flag
> is specified, otherwise behavior is unchanged).
> 
> Logic is added to (i) combine scroll offsets for the two
> viewports before passing it to the embedder, and (ii)
> splitting any offsets received from the embedder
> appropriately between the two viewports.
> 
> This CL relies on https://codereview.chromium.org/138453004/
> for changes in Blink to support it.
> 
> BUG=148816
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246812
> 
> R=aelias@chromium.org, enne@chromium.org, joi@chromium.org, piman@chromium.org, sky@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247684

TBR=enne@chromium.org,aelias@chromium.org,joi@chromium.org,sky@chromium.org,piman@chromium.org,tony@chromium.org,wjmaclean@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=148816

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247688 0039d316-1c4b-4281-b951-d872f2087c98
Use webrtc::MouseCursorMonitor for cursor shapes

Use webrtc::MouseCursorMonitor for cursor shapes instead of
webrtc::VideoFrameCapturer, in preparation for deprecating cursor shape
functionality in the latter.

BUG=324033

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247689 0039d316-1c4b-4281-b951-d872f2087c98
Revert 247689 "Use webrtc::MouseCursorMonitor for cursor shapes"

> Use webrtc::MouseCursorMonitor for cursor shapes
> 
> Use webrtc::MouseCursorMonitor for cursor shapes instead of
> webrtc::VideoFrameCapturer, in preparation for deprecating cursor shape
> functionality in the latter.
> 
> BUG=324033
> 
> Review URL: https://codereview.chromium.org/92473002

TBR=dcaiafa@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247691 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Detect whether sudo is required for certain admin-commands.

BUG=337048
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247692 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 165981:165995

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

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

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