diff options
author | akuegel@chromium.org <akuegel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-03 10:37:38 +0000 |
---|---|---|
committer | akuegel@chromium.org <akuegel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-03 10:37:38 +0000 |
commit | dac76b182b0e5d34bf078501dba9c59c1c8657d3 (patch) | |
tree | 0dceac15abdadb20b57b11d48a2d48066aa1e193 /sync/internal_api/public | |
parent | 6a7e7d9ee73c0f23ef941311b24f3eb4df6c841b (diff) | |
download | chromium_src-dac76b182b0e5d34bf078501dba9c59c1c8657d3.zip chromium_src-dac76b182b0e5d34bf078501dba9c59c1c8657d3.tar.gz chromium_src-dac76b182b0e5d34bf078501dba9c59c1c8657d3.tar.bz2 |
Add ManagedUserSharedSettings as sync datatype if the ManagedUserSettings sync datatype is enabled.
Also remove some boilerplate code that is not needed.
BUG=316168
Review URL: https://codereview.chromium.org/142473005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/public')
-rw-r--r-- | sync/internal_api/public/base_node.h | 9 | ||||
-rw-r--r-- | sync/internal_api/public/write_node.h | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/sync/internal_api/public/base_node.h b/sync/internal_api/public/base_node.h index 04e48d9..425a81f 100644 --- a/sync/internal_api/public/base_node.h +++ b/sync/internal_api/public/base_node.h @@ -153,15 +153,6 @@ 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 MANAGED_USERS datatype. Returns protobuf data. - // Can only be called if GetModelType() == MANAGED_USERS. - const sync_pb::ManagedUserSpecifics& GetManagedUserSpecifics() 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; diff --git a/sync/internal_api/public/write_node.h b/sync/internal_api/public/write_node.h index d3781e8..07c896b 100644 --- a/sync/internal_api/public/write_node.h +++ b/sync/internal_api/public/write_node.h @@ -160,15 +160,6 @@ class SYNC_EXPORT WriteNode : public BaseNode { // Should only be called if GetModelType() == SESSIONS. void SetSessionSpecifics(const sync_pb::SessionSpecifics& specifics); - // Set the managed user setting specifics (name and value). - // Should only be called if GetModelType() == MANAGED_USER_SETTINGS. - void SetManagedUserSettingSpecifics( - const sync_pb::ManagedUserSettingSpecifics& specifics); - - // Set the managed user setting specifics (name and value). - // Should only be called if GetModelType() == MANAGED_USERS. - void SetManagedUserSpecifics(const sync_pb::ManagedUserSpecifics& specifics); - // Set the device info specifics. // Should only be called if GetModelType() == DEVICE_INFO. void SetDeviceInfoSpecifics(const sync_pb::DeviceInfoSpecifics& specifics); |