diff options
author | lipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-19 00:55:44 +0000 |
---|---|---|
committer | lipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-19 00:55:44 +0000 |
commit | 1c50b209b33c08eadcab986cad4e6770e206c4f2 (patch) | |
tree | 3c0f6808cd130134ce55057f5dd843056941c34c /chrome/browser/sync/js_sync_manager_observer.cc | |
parent | 02e0b691e21f390ffb739305daa0e766c69bcc91 (diff) | |
download | chromium_src-1c50b209b33c08eadcab986cad4e6770e206c4f2.zip chromium_src-1c50b209b33c08eadcab986cad4e6770e206c4f2.tar.gz chromium_src-1c50b209b33c08eadcab986cad4e6770e206c4f2.tar.bz2 |
Revert 82026 - make new syncer thread the default. Fixed all the test cases that failed.BUG=26339TEST=unit_tests.exe, sync_integration_tests.exe, sync_unit_tests.exe. manual testcases:1. Set up a brand new profile to sync and make sure it syncs.2. enable/disable a datatype and make sure it syncs.3. Make change to a datatype locally and make sure it gets propagated.4. make change to a datatype remotely and make sure it syncs down.Review URL: http://codereview.chromium.org/6874018
TBR=lipalani@chromium.org
Review URL: http://codereview.chromium.org/6877027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82040 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/js_sync_manager_observer.cc')
-rw-r--r-- | chrome/browser/sync/js_sync_manager_observer.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/sync/js_sync_manager_observer.cc b/chrome/browser/sync/js_sync_manager_observer.cc index b6266e7..3999fdd 100644 --- a/chrome/browser/sync/js_sync_manager_observer.cc +++ b/chrome/browser/sync/js_sync_manager_observer.cc @@ -103,6 +103,14 @@ void JsSyncManagerObserver::OnInitializationComplete() { JsArgList(), NULL); } +void JsSyncManagerObserver::OnPaused() { + parent_router_->RouteJsEvent("onPaused", JsArgList(), NULL); +} + +void JsSyncManagerObserver::OnResumed() { + parent_router_->RouteJsEvent("onResumed", JsArgList(), NULL); +} + void JsSyncManagerObserver::OnStopSyncingPermanently() { parent_router_->RouteJsEvent("onStopSyncingPermanently", JsArgList(), NULL); |