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

Unified Diff: components/sync/syncable/model_type.cc

Issue 2916133002: [Sync] Support commit only types. (Closed)
Patch Set: Updates for pnoland. Created 3 years, 7 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: components/sync/syncable/model_type.cc
diff --git a/components/sync/syncable/model_type.cc b/components/sync/syncable/model_type.cc
index e1f4d49d127d3afc456ce0b151094b3d16c65c8c..fae1e6b9eba2b1d6fe6547091d0a8c3bc27b691f 100644
--- a/components/sync/syncable/model_type.cc
+++ b/components/sync/syncable/model_type.cc
@@ -540,6 +540,10 @@ ModelTypeSet PriorityCoreTypes() {
return result;
}
+ModelTypeSet CommitOnlyTypes() {
+ return ModelTypeSet(USER_EVENTS);
+}
+
const char* ModelTypeToString(ModelType model_type) {
// This is used in serialization routines as well as for displaying debug
// information. Do not attempt to change these string values unless you know

Powered by Google App Engine
This is Rietveld 408576698