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

Unified Diff: components/browser_sync/profile_sync_service.cc

Issue 2576203004: [Sync] Remove SyncEngine::UnregisterInvalidationIds (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | components/sync/driver/glue/sync_backend_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_sync/profile_sync_service.cc
diff --git a/components/browser_sync/profile_sync_service.cc b/components/browser_sync/profile_sync_service.cc
index 4bb90e14b4312e271880a4aa87d1a1cbcb188209..dfc2821cdba649540b4e9115e5ec61ece060ec4d 100644
--- a/components/browser_sync/profile_sync_service.cc
+++ b/components/browser_sync/profile_sync_service.cc
@@ -804,11 +804,6 @@ void ProfileSyncService::ShutdownImpl(syncer::ShutdownReason reason) {
void ProfileSyncService::StopImpl(SyncStopDataFate data_fate) {
switch (data_fate) {
case KEEP_DATA:
- // TODO(maxbogue): Investigate whether this logic can/should be moved
- // into ShutdownImpl or the sync engine itself.
- if (HasSyncingEngine()) {
- engine_->UnregisterInvalidationIds();
- }
ShutdownImpl(syncer::STOP_SYNC);
break;
case CLEAR_DATA:
« no previous file with comments | « no previous file | components/sync/driver/glue/sync_backend_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698