[chromedriver] Return extension snapshot on success.

Fixes regression from r222200.
BUG=none
TBR=chrisgao

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222203 0039d316-1c4b-4281-b951-d872f2087c98
Revert 222150 "Telemetry: smoothness measurement throws MissingT..."

Breaks testGotQueryParams on Mac 10.6 and 10.7.

> Telemetry: smoothness measurement throws MissingTimelineMarker.
> 
> Rather than throwing a generic LookupError exception when the timeline marker
> cannot be found in the trace, throw a MissingTimelineMarker which is a subclass
> of page_measurement.MeasurementFailure. These exceptios get caught by the page
> runner.
> 
> Stop catching LookupError exeptions in _RunPage.
> 
> BUG=238864
> 
> Review URL: https://chromiumcodereview.appspot.com/23766009

TBR=dominikg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222204 0039d316-1c4b-4281-b951-d872f2087c98
Revert 222154 "sync: Gracefully handle very early shutdown"

Makes tests very Flaky.
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Chromium&testType=sync_integration_tests&tests=TwoClientPasswordsSyncTest.SetPassphraseAndThenSetupSync

Can reproduce on local build.


> sync: Gracefully handle very early shutdown
> 
> Introduce a new object to communicate cross-thread cancellation signals.
> This new object, the CancellationSignal, is protected by a lock.  It
> allows the receiving thread to query whether or not a stop has been
> requested.  It also allows the receiving thread to safely register a
> cross-thread callback to be invoked immediately when a stop is
> requested.
> 
> This class is used to reimplement the UI thread to sync thread early
> shutdown signal.  Previously, the UI thread would try to call in to
> objects owned by the sync thread.  This required a workaround if the
> signal arrived very early, since we couldn't guarantee the sync thread
> had actually created those objects until later.  The CancellationSignal
> is owned by the UI thread, so it is safe to call its RequestStop() at
> any point during sync initialization.  The sync thread will receive the
> signal when it's ready.
> 
> The new scheme has a few advantages over the old:
> - Thread ownership is simpler.  The SyncBackendHost::Core, SyncManager,
>   ServerConnectionManager, SyncScheduler and Syncer can now claim that
>   all their member functions run on the sync thread.
> - We no longer need to implement special case logic for when a shutdown
>   is requested before the SyncManager has initialized.
> - In a future CL, we can take advantage of the fact that we no longer
>   require the special case to reduce inter-thread communication during
>   sync startup.  This will make startup simpler and, in some cases,
>   improve sync startup time by as much as a few hundred milliseconds.
> - This will make it easier to address crbug.com/236451.
> 
> BUG=236451
> 
> Review URL: https://chromiumcodereview.appspot.com/23189021

TBR=rlarocque@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222205 0039d316-1c4b-4281-b951-d872f2087c98
Automated Commit: Committing new LKGM version 4663.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222206 0039d316-1c4b-4281-b951-d872f2087c98
cc: Drop ContextProvider references on the impl thread before quitting

When passing a TextureMailbox from the impl thread out to the cc
embedder on the main thread, we need to keep a ref on the ContextProvider
that owns the texture in the mailbox, to keep the mailbox alive while
the embedder is receiving it.

However if the compositor shutsdown and the impl thread goes away, we
must have already dropped the ref on the ContextProvider or it will be
destroyed (a) on the wrong thread and (b) after the global GPU process
objects it holds pointers to have been destroyed. Crash will occur.

So, we add a TextureMailboxDeleter class that the GLRenderer uses to
generate a TextureMailbox release callback for the main thread instead
of rolling its own thing. The TMDeleter class' lifetime is bounded by
the life of the compositor instance on the impl thread, so it is
destroyed before the impl thread is joined. And when it is destroyed it
deletes the textures it was meant to destroy, and drops its ref on the
context provider.

BUG=283625
R=piman

Review URL: https://chromiumcodereview.appspot.com/23454014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222207 0039d316-1c4b-4281-b951-d872f2087c98
[Android WebView] Fix async upload

AsyncPixelTransferManager checks for some EGL specific
extensions that are available on the device, but was not
correctly retrieved by the GLNonOwnedContext.

Note that GLNonOwnedContext is only used on android webview,
not chrome on android.

BUG=287962

Review URL: https://chromiumcodereview.appspot.com/23460026

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222208 0039d316-1c4b-4281-b951-d872f2087c98
[Files.app] Remove "." in suggest an app title

Old: Select an app to open this file.
New: Select an app to open this file

BUG=288438
TEST=manually tested
TBR=hirono@chromium.org
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/23461037

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222209 0039d316-1c4b-4281-b951-d872f2087c98
[Files.app] Make the border 1px in the suggest app dialog.

BUG=none
TEST=manually tested
TBR=hirono@chromium.org
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/23461038

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222210 0039d316-1c4b-4281-b951-d872f2087c98
[Files.app] Use generateTopLevelEntries() method to retrieve the list on the top level

This patch fixes the bug that the directory list is not drawn correctly sometimes.

Previously, DirectoryTree.updateSubDirectories() tries to retrieve an entries from the file system. But the directory structure of the top level is different from the file system, instead, we need to use the special list. This patch change the updateSubDirectories() to use the special list.

BUG=286421
TEST=manual
R=hirono@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222211 0039d316-1c4b-4281-b951-d872f2087c98
Prevents session_length_timeout reappearing when it's already dismissed.

BUG=285941
R=stevenjb@chromium.org, bartfab@chromium.org
TEST=manually

Review URL: https://chromiumcodereview.appspot.com/23464044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222212 0039d316-1c4b-4281-b951-d872f2087c98
Fix comparison in an equal comparator.

This issue was found by a linter.

R=rdevlin.cronin@chromium.org, yoz@chromium.org

BUG=

Review URL: https://chromiumcodereview.appspot.com/23503045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222213 0039d316-1c4b-4281-b951-d872f2087c98
Make SyncTaskManager's regular Task cancellable (like SyncTask)

A small fix so that modifying the existing code becomes safer.

BUG=none
TEST=SyncTaskManagerTest.ScheduleAndCancelTask

Review URL: https://chromiumcodereview.appspot.com/23513021

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222214 0039d316-1c4b-4281-b951-d872f2087c98
[ash] Update applist button status when applist is hiding by outside event of
applist button.

R=harrym@chromium.org
BUG=287593
TEST=Compiles, Visual test

Review URL: https://chromiumcodereview.appspot.com/23526030

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222215 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Add double quatations to the main HTML file.

BUG=none
TEST=manually
R=yoshiki@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222216 0039d316-1c4b-4281-b951-d872f2087c98
Implement GetAudioOutputDeviceNames for Mac OS X.

BUG=276894
R=tommi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222217 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Introduce TestEntryInfo class to JavaScript code.

Currently the test entry data of 'newly added file.ogg' is doubled for creating
and verifiying the entry.  This CL introduces TestEntryInfo class to JavaScript
code and use it for both creating and verifiying the entyr.

BUG=279774
TEST=file_manager_browsertests
R=hashimoto@chromium.org, yoshiki@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222218 0039d316-1c4b-4281-b951-d872f2087c98
Revert 222204 "Revert 222150 "Telemetry: smoothness measurement ..."

Re-apply 222150. Revert didn't fix testGotQueryParams.

> Revert 222150 "Telemetry: smoothness measurement throws MissingT..."
> 
> Breaks testGotQueryParams on Mac 10.6 and 10.7.
> 
> > Telemetry: smoothness measurement throws MissingTimelineMarker.
> > 
> > Rather than throwing a generic LookupError exception when the timeline marker
> > cannot be found in the trace, throw a MissingTimelineMarker which is a subclass
> > of page_measurement.MeasurementFailure. These exceptios get caught by the page
> > runner.
> > 
> > Stop catching LookupError exeptions in _RunPage.
> > 
> > BUG=238864
> > 
> > Review URL: https://chromiumcodereview.appspot.com/23766009
> 
> TBR=dominikg@chromium.org
> 
> Review URL: https://codereview.chromium.org/23693005

TBR=vitalybuka@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222219 0039d316-1c4b-4281-b951-d872f2087c98
Revert 222145 "keep_test_server_ports to BrowserOptions (this sh..."

Attempt to fix testGotQueryParams on 10.6 and 10.7

> keep_test_server_ports to BrowserOptions (this should probably go into AndroidBrowserOptions). android_rndis is a new ctor arg to AndroidBrowserBackend.
> 
> BUG=269131
> TEST=trybot
> 
> Review URL: https://chromiumcodereview.appspot.com/23619022

TBR=achuith@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222220 0039d316-1c4b-4281-b951-d872f2087c98
Adds cache and buffer graphs to the properties pane.

BUG=260005

Review URL: https://chromiumcodereview.appspot.com/23536020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222221 0039d316-1c4b-4281-b951-d872f2087c98
[rAC, OSX] Add title to OSX rAC dialog.

BUG=157274
R=isherman@chromium.org, sail@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23604046

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