Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: chrome/browser/sync/glue/chrome_sync_notification_bridge.h

Issue 10824252: Revert 150990 - [Sync] Avoid unregistering object IDs on shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/chrome_sync_notification_bridge.h
===================================================================
--- chrome/browser/sync/glue/chrome_sync_notification_bridge.h (revision 150991)
+++ chrome/browser/sync/glue/chrome_sync_notification_bridge.h (working copy)
@@ -36,18 +36,11 @@
const scoped_refptr<base::SequencedTaskRunner>& sync_task_runner);
virtual ~ChromeSyncNotificationBridge();
- // Must be called on the UI thread while the sync task runner is still
- // around. No other member functions on the sync thread may be called after
- // this is called.
- void StopForShutdown();
-
// Must be called on the sync task runner.
void UpdateEnabledTypes(syncer::ModelTypeSet enabled_types);
// Marked virtual for tests.
- virtual void RegisterHandler(syncer::SyncNotifierObserver* handler);
virtual void UpdateRegisteredIds(syncer::SyncNotifierObserver* handler,
const syncer::ObjectIdSet& ids);
- virtual void UnregisterHandler(syncer::SyncNotifierObserver* handler);
// NotificationObserver implementation. Called on UI thread.
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698