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

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

Issue 76333002: Add Sync datatype for shared managed user settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 1 month 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 4f285dc68e3f7ab61515244fa412259355d4b85b..b29ab5bd5067dea414c2f42de33c78116abe7336 100644
--- a/sync/internal_api/public/base_node.h
+++ b/sync/internal_api/public/base_node.h
@@ -162,6 +162,12 @@ class SYNC_EXPORT BaseNode {
// Can only be called if GetModelType() == MANAGED_USERS.
const sync_pb::ManagedUserSpecifics& GetManagedUserSpecifics() const;
+ // Getter specific to the MANAGED_USER_SHARED_SETTINGS datatype. Returns
+ // protobuf data. Can only be called if GetModelType() ==
+ // MANAGED_USER_SHARED_SETTINGS.
+ const sync_pb::ManagedUserSharedSettingSpecifics&
+ GetManagedUserSharedSettingSpecifics() const;
+
// Getter specific to the DEVICE_INFO datatype. Returns protobuf
// data. Can only be called if GetModelType() == DEVICE_INFO.
const sync_pb::DeviceInfoSpecifics& GetDeviceInfoSpecifics() const;

Powered by Google App Engine
This is Rietveld 408576698