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

Unified Diff: sync/internal_api/public/syncable/model_type.h

Issue 10559104: sync: Process 'control' data separately (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename, cleanup, fix tests Created 8 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 | « sync/internal_api/public/engine/model_safe_worker.h ('k') | sync/internal_api/sync_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/syncable/model_type.h
diff --git a/sync/internal_api/public/syncable/model_type.h b/sync/internal_api/public/syncable/model_type.h
index c8a9905dfe478b338c24bdac0dd8fdd143c25de4..f6014022ec6bc419c4b7678a140fb58f73353d66 100644
--- a/sync/internal_api/public/syncable/model_type.h
+++ b/sync/internal_api/public/syncable/model_type.h
@@ -119,6 +119,12 @@ ModelType GetModelTypeFromSpecifics(const sync_pb::EntitySpecifics& specifics);
// value (sibling ordering) for this item.
bool ShouldMaintainPosition(ModelType model_type);
+// If this returns true, this type belongs in GROUP_CONTROL. The syncer has
+// special code to deal with its encryption, update application and conflict
+// resolution, so it should not receive any 'generic' processing for those
+// purposes.
+bool IsControlType(ModelType model_type);
+
// Determine a model type from the field number of its associated
// EntitySpecifics field.
ModelType GetModelTypeFromSpecificsFieldNumber(int field_number);
« no previous file with comments | « sync/internal_api/public/engine/model_safe_worker.h ('k') | sync/internal_api/sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698