Disabled TabStripModelTest.FastShutdown on Windows.

Newly failing on Vista Tests bot on Blink waterfall.

BUG=302156
TBR=sky@chromium.org,jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234026 0039d316-1c4b-4281-b951-d872f2087c98
Remove bouncing email from WATCHLISTS

TBR=vangelis
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234028 0039d316-1c4b-4281-b951-d872f2087c98
This is the first CL of several that will eventually replace TokenService with
ProfileOAuth2TokenService.  In this CL, the dependencies between TS and PO2TS
are reversed, and uneeded features are removed from TS.  This will allow
individual users of TS to be moved over to PO2TS in separate CLs, to easy
reviews.

BUG=305247

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234029 0039d316-1c4b-4281-b951-d872f2087c98
Add akinsofthook32.dll to blacklist.

This blocks these dlls from loading into our sandboxed process, because
they are causing too many user crashes.

R=cpu@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234030 0039d316-1c4b-4281-b951-d872f2087c98
Prefer opening PDF downloads in the browser.

PDFs in particular are safer to open in the browser. This patch changes
the handling of downloads to open such files in the browser by default
instead of the system handler for the file type. A "Open with system
handler" menu item will be available so that users can still use the
system application if needed.

The determination that a file is safer to handle in the browser is done
as follows:

a) DownloadTargetDeterminer determines whether the MIME type
   corresponding to the target filename of the download is one which is
   handled by the renderer or one that is handled by a sandboxed pepper
   plugin. If so, then the file is considered safely handled by the
   browser.

b) ChromeDownloadManagerDelegate determines whether opening in the
   browser is preferred for the file type assuming the browser is able
   to handle it safely. Currently this is true for .pdf files.

Opening behavior for a download will default to opening in the browser
if both results from a) and b) are true.

BUG=148492

TEST=(1) Make sure Chrome PDF Viewer is enabled in chrome://plugins.
     (2) Download a .pdf file.
     (3) Download shelf context menu should show "Open" and "Open with
         system handler" options.
     (4) "Open" as well as clicking on the shelf icon and clicking on
         the download in chrome://downloads should all result in opening
         the file within the browser.
     (5) "Open with system handler" should open the .pdf with the
         application that's set up as the default handler for .pdf files
         on the users' machine.

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234031 0039d316-1c4b-4281-b951-d872f2087c98
Refactor the GN threading model to reduce locking and simplify execution.

Old design: item_tree manages dependency resolution, target_manager creates and hooks up the target dependencies, and the toolchain manager does all kinds of crazy ordering and loading stuff on every thread. There is lots of locking every time the dependency tree is modified.

This patch completely deletes the toolchain manager, item tree, item node, and target manager.

The new design is that the build files are executed on background threads, but then they come back to the main thread which assembles the dependency tree and schedules other file loads. This eliminates almost all locking and a lot of complexity.

The Loader now manages loading the different build files in the correct context, and managing dependencies (loading the build config first, for example). The Builder manages the dependency tree and requests that the Loader load files that it encounters references to.

This simpler design reduces non-test code by ~350 lines. In the current gn build, lock acquisitions go down from 1808 to 116 and it saves about 20ms wall clock time (8% faster). This is a bit deceiving, though, because most of the time is spent on pkg-config which is constant. It speeds up running individual build files by 1000-1500%.

The work of putting the tree together that used to take up this time inside locks is now transferred to the main thread, which looks like it is *sometimes* a bottleneck. This should be easier to optimize in the future, though.

Other tweaks:
 - I fixed cycle finding
 - Directories look prettier on Windows using the "desc" command
 - Tracing output now includes the main thread and marks it as such
 - I updated the base BUILD.gn file for the more recent tree.

R=scottmg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234032 0039d316-1c4b-4281-b951-d872f2087c98
Adding Google Maps pixel test

BUG=143317

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234033 0039d316-1c4b-4281-b951-d872f2087c98
Disabled ppapi browsertests for TCPSocket due to flakiness.

BUG=316933

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234034 0039d316-1c4b-4281-b951-d872f2087c98
Support x86_64 Mac for nacl_integration_tests.

This enables nacl_integration_tests to run via buildbot_nacl_integration.py
for Mac x86_64. It makes --bits work correctly on Mac, and allows the proper
--bits setting to be automatically detected based on the Chrome browser being
used for testing.

BUG=316401,316715
R=mseaborn@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234035 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 161630:161635

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234037 0039d316-1c4b-4281-b951-d872f2087c98
Implement new headers for Chrome/Gaia identity sync

In the Mirror world, gaia identity must always stay in sync with Chrome. Thus when a user visits a Gaia page from a connected profile in non-incognito mode, Chrome should append a special header to Gaia so that Gaia could serve 204 response with a special header that indicates Chrome should take over the sign in action with native UI.

For details please refer to 
https://docs.google.com/a/google.com/document/d/1KTTS3fOddY2nxq8scd05SpNFP3I4WsgfQzD0nnZm2zg/edit?usp=sharing

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234038 0039d316-1c4b-4281-b951-d872f2087c98
Fix win64 compilation error

R=jbauman@chromium.org
TBR=jbauman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234039 0039d316-1c4b-4281-b951-d872f2087c98
NSS: add `padding' extension when we might hit the F5 bug.

In the case that a ClientHello record is between 256 and 511 bytes long, add an
extension to make it at least 512 bytes. This works around a bug in F5 terminators.

BUG=315828

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234040 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Eliminate 1+ frame(s) of delay between scroll and fling start

Android has always had a hitch between a touch scroll and scrolls produced by
fling gestures.  Eliminate the hitch by 1) Assigning the fling gesture a proper
start time rather than waiting on cc's animation system to provide one, and
2) Removing GestureFlingStart as a debounced event type in GestureEventFilter.

BUG=315886

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234041 0039d316-1c4b-4281-b951-d872f2087c98
Disable WebViewTest.Shim_TestAssignSrcAfterCrash due to flakiness.

BUG=316939

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234042 0039d316-1c4b-4281-b951-d872f2087c98
Safebrowsing related fixes for linux_redux compile.

BUG=313706

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234043 0039d316-1c4b-4281-b951-d872f2087c98
Revert 233860 "Revert 233816 "Retry on low-level connection erro..."

> Revert 233816 "Retry on low-level connection errors and on HTTP ..."
> 
> BUG=316569
> 
> > Retry on low-level connection errors and on HTTP 503 errors in PrivetURLFetcher
> > 
> > To avoid connection reset issues on long file upload, retry on low-level
> > connection errors and HTTP 503 errors in PrivetURLFetcher.
> > 
> > BUG=
> > 
> > Review URL: https://codereview.chromium.org/62753004
> 
> TBR=noamsml@chromium.org
> 
> Review URL: https://codereview.chromium.org/66313006

TBR=serya@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234044 0039d316-1c4b-4281-b951-d872f2087c98
Disable the following tests:

FontListTest.Fonts_GetHeight_GetBaseline
RenderTextTest.SetFontList
RenderTextTest.StringSizeRespectsFontListMetrics
LabelTest.FontPropertySymbol

BUG=316955

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234045 0039d316-1c4b-4281-b951-d872f2087c98
Revert 233774 "Make WindowAndroid constructor takes context as p..."

It broke content_browsertests

> Make WindowAndroid constructor takes context as param.
> 
> BUG=309104
> TBR=yfriedman
> 
> Review URL: https://codereview.chromium.org/29303004

TBR=michaelbai@chromium.org

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

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