Revert 193798 "Revert r192949 "Disable shader disk cache by defa..."

Reverting seems to fix memory_test test locally on linux.

BUG=230085

> Revert r192949 "Disable shader disk cache by default."
> 
> This reverts commit r192949. The disable has been merged into
> M27 so re-enabling on trunk.
> 
> BUG=228989
> 
> Review URL: https://chromiumcodereview.appspot.com/13872012

TBR=dsinclair@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194503 0039d316-1c4b-4281-b951-d872f2087c98
Fix build break
R=shishir

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194504 0039d316-1c4b-4281-b951-d872f2087c98
Revert 194484 "Add the LoggedIn Predictor, to detect which websi..."

> Add the LoggedIn Predictor, to detect which websites a user is likely
> logged into (or has been logged into).
> R=shishir@chromium.org, bauerb@chromium.org
> 
> Review URL: https://codereview.chromium.org/13903018

TBR=tburkard@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194505 0039d316-1c4b-4281-b951-d872f2087c98
intsafe workaround to separate header

Allows workaround to work without precompiled headers (as in
buildtype=Official)

R=cpu@chromium.org
BUG=225822

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194506 0039d316-1c4b-4281-b951-d872f2087c98
Revert 194506 "intsafe workaround to separate header"

Broke x64 compile.

> intsafe workaround to separate header
> 
> Allows workaround to work without precompiled headers (as in
> buildtype=Official)
> 
> R=cpu@chromium.org
> BUG=225822
> 
> Review URL: https://codereview.chromium.org/14201003

TBR=scottmg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194507 0039d316-1c4b-4281-b951-d872f2087c98
cc: Disable DrawQuad unit test that tests a NOTIMPLEMENTED method.

R=piman
BUG=231715

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194508 0039d316-1c4b-4281-b951-d872f2087c98
New network error pages:  Only show an icon (And description
on mouse over) when a network error happens in an iframe.

Also add the same icon to the main frame error page.

BUG=174194
Review URL: https://codereview.chromium.org/13737002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194509 0039d316-1c4b-4281-b951-d872f2087c98
Avoid sending empty OnRepaint msgs and propagate window damage correctly

This fixes two issues related to OnRepaint (window damage) messages:

1.) In the case of a renderer-resized widget, the browser's information about
the size of the widget could be out of date. If the browser widget was asked to
paint in compositing mode before it received the proper size it could send a
ViewMsg_OnRepaint with 0x0 size and then set repaint_ack_pending_, expecting the
renderer to reply. The renderer wasn't actually replying with a frame since
damaging a 0x0 rect doesn't actually require painting anything. This suppresses
sending the OnRepaint message if the browser's size is 0x0. Either the size will
at some point become 0x0, triggering a repaint, or the user will never see it.

2.) In compositing mode on the renderer side we weren't plumbing the OnRepaint
window damage rect properly in to the compositor. Thus the compositor could end
up not producing a frame after receiving an OnRepaint message, confusing the
browser rate limiting logic greatly.

BUG=230766

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

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

We weren't adding apps to the installed_app set when it doesn't have
any storage permissions.

BUG=231167
TEST=ExtensionSpecialStoragePolicyTest.IsInstalled

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194511 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll r148474:148494

TBR=haraken

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194513 0039d316-1c4b-4281-b951-d872f2087c98
New network error page:  Fix resubmit warning when
navigating forward / back to a page generated by a
POST that can not be retrieved from the CACHE.

This was broken (knowingly) in revision 191712
(https://codereview.chromium.org/12277011/).

BUG=174194,226909

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194514 0039d316-1c4b-4281-b951-d872f2087c98
On Mac, ensure messages displayed in the bookmark bar do not overlap with the Apps bookmark button.

BUG=230968
TEST=Lauch Chrome on Mac with instant extended. Ensure you have no bookmark. On the NTP observe that the "Apps" button does not overlap the empty bookmark bar message.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194516 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup: Return additional schemes vector as out parameter from GetAdditionalWebUISchemes

Changing ContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem()
not to return std::vector<std::string> as return value (but as an out
parameter) to follow the coding convention.

A follow-up patch for https://chromiumcodereview.appspot.com/13415006

BUG=none
TEST=no new tests as no behavioral changes

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194519 0039d316-1c4b-4281-b951-d872f2087c98
Better support for chrome for cros local builds. 

* Use ldd to detect chrome for cros local builds. 
* Add browser types debug-cros and release-cros for chrome for cros on linux. 
* Remove browser option --cros-desktop 

BUG=229692
TEST=run_tests works with cros-debug going through the login flow. 
NOTRY=True
Review URL: https://codereview.chromium.org/13891011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194522 0039d316-1c4b-4281-b951-d872f2087c98
ThreadWatcher - give ShutdownWatchDogThread::Alarm a more 
unique function body.

Changed ShutdownWatchDogThread::Alarm's to call
ShutdownCrash(), so it does not get merged by the link time 
optimization.

R=jar@chromium.org, eroman@chromium.org
BUG=232080
Review URL: https://codereview.chromium.org/14250003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194524 0039d316-1c4b-4281-b951-d872f2087c98
Add InitWidgets() phase for GTK infobars.

This unifies the creation of GTK widgets and makes it happen in response to the infobar being shown.  Currently, this generally happens at construction.  Once the new ownership model lands, infobars will not yet be owned at construction time, and since widget creation includes getting a theme service from the owner, that needs to move out of the construction phase.

Incidentally, this also makes the GTK native object creation happen at the same time as the views native object creation, not that that matters much.

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194525 0039d316-1c4b-4281-b951-d872f2087c98
Ports XMPP Invalidation code from drive_file_sync_service in /sync_file_system to /google_apis/drive_notification_manager so it can be shared between ChromeOS file manager and SyncFS.

Please note that to keep this patch streamlined I've only ported over the XMPP invalidation code for now and will port the polling logic in the next patch.

BUG=173339

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194526 0039d316-1c4b-4281-b951-d872f2087c98
Revert 194525 "Add InitWidgets() phase for GTK infobars."

Broke "Linux Tests (dbg)(2)" build.
http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29/builds/33655

[4808:4808:0416/202705:277959527:FATAL:browser_main_loop.cc(186)] Gtk: gtk_box_pack: assertion `GTK_IS_WIDGET (child)' failed 

The error is FATAL with a Debug build but ERROR with a Release build, hence linux_rel try bot passed:
http://build.chromium.org/p/tryserver.chromium/builders/linux_rel/builds/117475/steps/interactive_ui_tests/logs/stdio

[10001:10001:0416/181034:1303866619:ERROR:browser_main_loop.cc(186)] Gtk: gtk_box_pack: assertion `GTK_IS_WIDGET (child)' failed

> Add InitWidgets() phase for GTK infobars.
> 
> This unifies the creation of GTK widgets and makes it happen in response to the infobar being shown.  Currently, this generally happens at construction.  Once the new ownership model lands, infobars will not yet be owned at construction time, and since widget creation includes getting a theme service from the owner, that needs to move out of the construction phase.
> 
> Incidentally, this also makes the GTK native object creation happen at the same time as the views native object creation, not that that matters much.
> 
> BUG=none
> TEST=none
> 
> Review URL: https://codereview.chromium.org/11775019

TBR=pkasting@chromium.org

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

Move DriveFileSystem::NotifyFileSystemMounted() and
NotifyFileSystemToBeUnmounted() to DriveSystemServiceObserver
in favor of less things to have in DriveFileSystem

BUG=231788
TEST=none

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

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