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

Unified Diff: components/sync/driver/data_type_manager_impl.cc

Issue 2916133002: [Sync] Support commit only types. (Closed)
Patch Set: Rebase again. Created 3 years, 6 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 | « components/sync/base/model_type.h ('k') | components/sync/engine_impl/cycle/nudge_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/data_type_manager_impl.cc
diff --git a/components/sync/driver/data_type_manager_impl.cc b/components/sync/driver/data_type_manager_impl.cc
index d289eb41172c3ba219c9021f1630bfbf0ea04603..d471c8c7f184e3bd700288309b4230a87a850ad8 100644
--- a/components/sync/driver/data_type_manager_impl.cc
+++ b/components/sync/driver/data_type_manager_impl.cc
@@ -539,6 +539,7 @@ ModelTypeSet DataTypeManagerImpl::PrepareConfigureParams(
types_to_download.PutAll(clean_types);
types_to_download.RemoveAll(ProxyTypes());
+ types_to_download.RemoveAll(CommitOnlyTypes());
if (!types_to_download.Empty())
types_to_download.Put(NIGORI);
« no previous file with comments | « components/sync/base/model_type.h ('k') | components/sync/engine_impl/cycle/nudge_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698