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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250798 0039d316-1c4b-4281-b951-d872f2087c98
Revert 250781 "Blink roll 166948:167016"

broke tests on Mac and ChromeOS
http://build.chromium.org/p/chromium.mac/builders/Mac10.7%20Tests%20%281%29/builds/20580
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%283%29/builds/33415

> Blink roll 166948:167016
> 
> http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=166949:167016&mode=html
> TBR=
> BUG=
> 
> Review URL: https://codereview.chromium.org/160553002

TBR=eseidel@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250801 0039d316-1c4b-4281-b951-d872f2087c98
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
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
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
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
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
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
[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
[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
Cast: Refactoring transport to Clang format

This cl is pure style-targeted refactoring. 
No functional changes were made. 

BUG=339176

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250818 0039d316-1c4b-4281-b951-d872f2087c98
Add a user metrics for invalid referrers detected in the network stack

BUG=none
R=jar@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250819 0039d316-1c4b-4281-b951-d872f2087c98
[MIDI] Add a permission bubble client for MIDI system control.

BUG=332115

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250820 0039d316-1c4b-4281-b951-d872f2087c98
Set up field trial for precache experiment

By default, this trial is disabled.

BUG=309216

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250821 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Lint pylib/host_driven.

BUG=168518

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

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