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

Unified Diff: sync/engine/model_safe_worker.h

Issue 9950137: [not for review] sync: Don't use group_restriction from ApplyUpdatesCommand. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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/engine/apply_updates_command.cc ('k') | sync/engine/model_safe_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/model_safe_worker.h
diff --git a/sync/engine/model_safe_worker.h b/sync/engine/model_safe_worker.h
index ced63d6adab45013ed85db4b7f7d846274c41741..db1b73d56b5e67a907808f5dca522a7fccb2b53c 100644
--- a/sync/engine/model_safe_worker.h
+++ b/sync/engine/model_safe_worker.h
@@ -79,6 +79,12 @@ std::string ModelSafeRoutingInfoToString(
syncable::ModelTypeSet GetRoutingInfoTypes(
const ModelSafeRoutingInfo& routing_info);
+// Extracts a ModelTypeSet containing all types that map to |group| in
+// |routing_info|.
+syncable::FullModelTypeSet GetModelTypesForGroup(
+ ModelSafeGroup group,
+ const ModelSafeRoutingInfo& routing_info);
+
ModelSafeGroup GetGroupForModelType(const syncable::ModelType type,
const ModelSafeRoutingInfo& routes);
« no previous file with comments | « sync/engine/apply_updates_command.cc ('k') | sync/engine/model_safe_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698