Revert 249561 "Don't run internal message loop from PrintJob::Co..."

> Don't run internal message loop from PrintJob::ControlledWorkerShutdown()
> 
> If loops is running, and render is closed, the RenderViewHostImpl that called ControlledWorkerShutdown is going to be destroyed. So RenderViewHostImpl crashes immediately after returning from ControlledWorkerShutdown.
> 
> Solution it to use delayed messages instead of nested loop.
> 
> BUG=313274
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/136733005

Suspect CL for http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/26310/steps/unit_tests/logs/stdio

[ RUN      ] PrintJobTest.SimplePrint
c:\b\build\slave\cr-win-dbg\build\src\chrome\browser\printing\print_job_unittest.cc(110): error: Value of: job->is_stopping()
  Actual: false
Expected: true
[  FAILED  ] PrintJobTest.SimplePrint (218 ms)

TBR=vitalybuka@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249585 0039d316-1c4b-4281-b951-d872f2087c98
undo shrikant changes to ash shelf

The autohide option of the ash tray/taskbar is back, by popular demand.
More info on the bug.

TBR=shrikant
BUG=292864

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249586 0039d316-1c4b-4281-b951-d872f2087c98
Part 2 of search provider refactoring.

Moves field_trial_triggered_ and field_trial_triggered_in_session_
fields to base_search_provider. Moves shared AddProviderInfo and
field_trial_triggered_in_session methods using those fields into the
superclass.

BUG=338955
TBR=mpearson@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249587 0039d316-1c4b-4281-b951-d872f2087c98
Fixes the search key asset.

BUG=339552

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249588 0039d316-1c4b-4281-b951-d872f2087c98
cc: Switch to vector based TaskGraph implementation.

Provides improved performance for graph sizes used with impl-side
painting. Here are two reasons for why this is better:

1. TaskGraph creation can be done without any heap allocations.
Prior to this we spent most of the graph construction time
creating and deleting objects. This eliminates that completely.

2. Linear scans are typically faster than hash map lookups for the
number of nodes and edges used in our task graphs. A large graph
with raster tasks typically has ~50 nodes and ~100 edges.

Improvement in graph construction performance is somewhere between
5x-10x on desktop and likely even greater on Android where heap
allocations might be more expensive. Graph scheduling performance
is up by 3x-10x while the improvement to execution time is a more
moderate 2x-5x. Execution cost is less important as it's paid by
worker threads and already considered good enough before this
change.

There's still room for improvement after this change. ie. by
keeping graph edges sorted, DependentIterator performance can be
 improved.

Trivial changes to our RasterWorkerPool implementations are needed
to further avoid heap allocations and fully take advantage of the
performance improvements in this patch. This has been left as follow
up work.

BUG=246546

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249589 0039d316-1c4b-4281-b951-d872f2087c98
Add some strings for certificate installation from smartcard.

BUG=341500
NOTRY=true
R=tedchoc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249590 0039d316-1c4b-4281-b951-d872f2087c98
Swap linux_aura for linux_gtk in PRESUBMIT try stuff.

Needs to land at the same time as the master restart for
https://codereview.chromium.org/151393003/

BUG=336581
NOTRY=true
R=phajdan.jr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249591 0039d316-1c4b-4281-b951-d872f2087c98
Revert 249576 "Cast: Wiring up the asyc initialization with the ..."

> Cast: Wiring up the asyc initialization with the video encoders.
> 
> This is a follow up cl to complete the async intialization.
> 
> Review URL: https://codereview.chromium.org/151103004

Suspected cause of browser_tests/CastStreamingApiTest.Basics failure:
http://build.chromium.org/p/chromium.mac/builders/Mac%2010.6%20Tests%20%28dbg%29%281%29/builds/46664/steps/browser_tests/logs/stdio

TBR=pwestin@google.com

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249592 0039d316-1c4b-4281-b951-d872f2087c98
Refine the histogram for browser actions.

BUG=341473

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249595 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 166650:166660

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249597 0039d316-1c4b-4281-b951-d872f2087c98
Android: Fix null ptr deref

BUG=341698
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249598 0039d316-1c4b-4281-b951-d872f2087c98
Inject default libraries to all targets in GN.

In GYP Mac, most targets got a default set of mac libraries by virtue
of depending on base, which due to a GYP bug pushed the libraries to
all targets depending on base, even separate shared libraries.

In GYP Windows the set of default libraries on Windows is global and
this keeps the same list and behavior.

The lists of libraries could use some cleanup, btu this patch just
attempts to keep the status quo in a cleaner way rather than fixing the
unreasonable list of libraries (especially on Windows).

R=scottmg@chromium.org, scottmg

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249600 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1827.0 to 1828.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249602 0039d316-1c4b-4281-b951-d872f2087c98
Do not delete the CastSocket in OnError callback to prevent dereferencing NULL.

BUG=340727

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

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