Wire InstallFinished and add some InstallEvent.waitUntil tests

BUG=285976
TEST=content_browsertests:ServiceWorkerVersionBrowserTest.Install*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250804 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250804
cros-asan: Fix crash in chromeos asan bot.

When upgrade clang to clang 3.5, we need
__asan_stack_malloc_0 in the asan_stub.

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250806 0039d316-1c4b-4281-b951-d872f2087c98
Changed RefCountedStaticMemory() to accept a void pointer.

Using a void pointer saves lots of redundant casting.

Also added RefCountedMemory front_as<type> which saves typing by not having to
wrap each call with a reinterpret_cast<>.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250808 0039d316-1c4b-4281-b951-d872f2087c98
Introduce ADTSStreamParser. Factorize MP3StreamParser and tests.

Factorizes MP3StreamParser into MPEGAudioStreamParserBase for reuse
with a new ADTSStreamParser.  In the process, also factorizes the
MP3StreamParserTest into a new test helper StreamParserTest for
reuse with the ADTSStreamParserTest.

Introduces an adts_constants.{cc,h} to remove duplicate constants
across the AAC and ES ADTS parsers.  Fixes a channel layout bug in
the AAC parser.

sfx.adts test file will be landed manually in a separate change.

BUG=341648,340426
TEST=new unittests pass!
NOTRY=true

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250809 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250809
Revert 250798 "Revert of Read compositor VSync information from ..."

Broke compilation.

> Revert of Read compositor VSync information from platform, when possible (https://chromiumcodereview.appspot.com/138903025/)
> 
> Reason for revert:
> Reverting due to Windows crashes.  See:
> 
> http://crbug.com/343199
> 
> Original issue's description:
> > Read compositor VSync information from platform, when possible
> > 
> > The current query of VSync information through the GL context can be unreliable
> > on platforms that can dynamically disable vblanks, or multi-monitor setups.
> > Preferentially query the VSync information through the platform windowing
> > system (presently: XRandR on CrOS) when possible.
> > 
> > BUG=328953
> > TEST=local build, run on CrOS snow
> > 
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250250
> 
> TBR=oshima@chromium.org,piman@chromium.org,brianderson@chromium.org,sky@chromium.org,mukai@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=328953
> 
> Review URL: https://codereview.chromium.org/161413002

TBR=sheu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250810 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250810
Trusted plugin: Remove ScriptablePlugin.

ScriptablePlugin no longer provides anything from the plugin element in the DOM
since properties were moved in r237604.

BUG=239656
R=dmichael@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250811 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250811
Mojo: Make C++ CreateMessagePipe() wrapper return result.

(Also make declaration order match that of DataPipe's -- handle, then
scoped handle, then functions, and then creation wrapper.)

R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250812 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Reflesh metadata when copy is finished.

Previously, the cached metadata fetched on the begining of copy is used after
the copy completes. This is caused a bug the size of file is shown as 0.
This CL adds lines to reflesh the cached metadata.

BUG=339165
TEST=Copy a file from the drive to local and observes its file size.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250813 0039d316-1c4b-4281-b951-d872f2087c98
[sync]: add ManagedUserSigninManagerWrapper and pass to ProfileSyncService

BUG=80194

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250814 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250813
Add certificates not loaded NET_LOG_EVENT.

BUG=341324

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250815 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250815
[Remoting] Add generic JS typecheck functions to cleanup client_plugin.js.

Also add isValidState and isValidConnectionError so that the code is more readable.

Also fix typo with supportedCapabilities

BUG=
R=jamiewalch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250816 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250816
[Telemetry] Use file_poller to retrieve samples on Nexus 10

R=jeremy@chromium.org,tonyg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250817 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250817