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

Unified Diff: chrome/browser/sync/glue/sync_backend_host.cc

Issue 8295017: [Sync] Support open tabs experiment enabling before sync setup completion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/sync_backend_host.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host.cc b/chrome/browser/sync/glue/sync_backend_host.cc
index 1c4368308e5d4856eeba271ceeed24d18a9b4758..d36e1ee8e4e425c916ea0a305f00f104e774e063 100644
--- a/chrome/browser/sync/glue/sync_backend_host.cc
+++ b/chrome/browser/sync/glue/sync_backend_host.cc
@@ -820,8 +820,7 @@ void SyncBackendHost::Core::HandleSyncCycleCompletedOnFrontendLoop(
// Process any changes to the datatypes we're syncing.
// TODO(sync): add support for removing types.
syncable::ModelTypeSet to_add;
- if (host_->initialized() &&
- sync_manager()->ReceivedExperimentalTypes(&to_add)) {
+ if (sync_manager()->ReceivedExperimentalTypes(&to_add)) {
akalin 2011/10/14 23:18:48 hmm. Thinking about this, I think it's cleaner to
Nicolas Zea 2011/10/15 00:31:35 Done.
host_->frontend_->OnDataTypesChanged(to_add);
}
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698