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

Unified Diff: sync/internal_api/public/base_node.h

Issue 11734009: sync: Add ControlPreference protobuf and supporting code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix integration tests Created 7 years, 12 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: sync/internal_api/public/base_node.h
diff --git a/sync/internal_api/public/base_node.h b/sync/internal_api/public/base_node.h
index b3946fb17c6af85c781bccdf711f41a2fcea73c2..059855fbfd679bd38be49265d52963ba3b99f3a7 100644
--- a/sync/internal_api/public/base_node.h
+++ b/sync/internal_api/public/base_node.h
@@ -161,6 +161,11 @@ class SYNC_EXPORT BaseNode {
// data. Can only be called if GetModelType() == EXPERIMENTS.
const sync_pb::ExperimentsSpecifics& GetExperimentsSpecifics() const;
+ // Getter specific to the CONTROL_PREFERENCE datatype. Returns protobuf
+ // data. Can only be called if GetModelType() == CONTROL_PREFERENCE.
+ const sync_pb::ControlPreferenceSpecifics&
+ GetControlPreferenceSpecifics() const;
+
const sync_pb::EntitySpecifics& GetEntitySpecifics() const;
// Returns the local external ID associated with the node.

Powered by Google App Engine
This is Rietveld 408576698