Add ExceptionHandler to ModuleSystem, remove heap allocated v8::TryCatch.


BUG=152389


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

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

toolchain option is deprecated.


BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170899 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170899
DriveFileSyncService listens to OnAuthenticated event to recover from unavailable state

This patch includes:
- Adding DriveFileSyncClientObserver to notify OnAuthenticated event
- Invoking SyncFileSystemService::OnRemoteServiceStateUpdate when OnAuthenticated event happens.

BUG=161436
TEST=manual (Launch test app -> Logout -> Login -> Receive notification)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170900 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170900
Remove clearing pending remote/local changes in SyncFileSystemService

TEST=all existing tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170901 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170901
Remove unneeded TabContents::FromWebContents.

BUG=107201
TEST=no visible change


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

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

The ConstrainedWindowMacTest.ShowInUninitializedTab was failing on some bots.
http://build.chromium.org/p/tryserver.chromium/builders/mac_rel/builds/78878/steps/browser_tests/logs/stdio

> Fix showing constrained window for uninitialized tabs
> 
> If a tab is added without being shown then the associated tab view for the web content will not be created yet.
> 
> When a constrained window is added to that tab the window never gets shown.
> 
> To fix this I've changed ConstrainedWindowMac2 to reshow the window once the web contents becomes visible.
> 
> BUG=163778
> TEST=Reproduced bug 163778 and verified that my patch fixes it.
> Verified that ConstrainedWindowMacTest.ShowInUninitializedTab fails without my patch and passes with it.
> 
> 
> Review URL: https://chromiumcodereview.appspot.com/11419277

TBR=sail@chromium.org
Review URL: https://codereview.chromium.org/11418304

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170903 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170903
Implement polling part of DriveFileSyncService

BUG=156041
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170904 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170904
Refactor 3 PPB_Flash functions to the new resource model.

This refactors the following flash functions to the new resource model.
-GetProxyForURL
-UpdateActivity
-SetCrashData

BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170907 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170907
implement the logic to set tile priorities based on current matrix


BUG=163060


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170908 0039d316-1c4b-4281-b951-d872f2087c98
[telemetry] Rename image pageset to tough_image_cases.json

BUG=164030


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170909 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170909
Video capture implementation using the Media Foundation API.
This replaces the DirectShow based implementation for Vista,Win7 and Win8.
DirectShow isn't supported in metro mode so once we've landed this,
we can revert the workaround we have in place for Win8.

The CapabilityList class is mostly moved code from the DS implementation.
The difference is that I'm not using a std::map<> since that wasn't
really necessary and instead adding one member (via inheritance) to
the capability struct on Windows that holds the stream id that is needed.

BUG=140545
TEST=All video capture tests in media_unittests now test this new implementation (except on XP).

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170912 0039d316-1c4b-4281-b951-d872f2087c98
Pass calls to GetApplicationInfo through the scheduler

BUG=160904


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170913 0039d316-1c4b-4281-b951-d872f2087c98
Alternate NTP: Limit width of tab titles in recent tabs menu

This is the Mac version of this CL:
https://chromiumcodereview.appspot.com/11410067
It limits the width of tab titles and window names in the recent tabs menu.

BUG=160844


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

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