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

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

Issue 14053004: Add ManagedUserSettings Sync data type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 8 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 360292353a23ccf128b98712141fcaefab5c6f95..7cf2edb2af257ab15ebf97cb2afaa13afeccf5e9 100644
--- a/sync/internal_api/public/base_node.h
+++ b/sync/internal_api/public/base_node.h
@@ -153,6 +153,11 @@ class SYNC_EXPORT BaseNode {
// data. Can only be called if GetModelType() == SESSIONS.
const sync_pb::SessionSpecifics& GetSessionSpecifics() const;
+ // Getter specific to the MANAGED_USER_SETTINGS datatype. Returns protobuf
+ // data. Can only be called if GetModelType() == MANAGED_USER_SETTINGS.
+ const sync_pb::ManagedUserSettingSpecifics&
+ GetManagedUserSettingSpecifics() 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