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

Unified Diff: components/ownership/owner_settings_service.h

Issue 666363002: DeviceSettingsProvider's write path uses OwnerSettingsService now. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: components/ownership/owner_settings_service.h
diff --git a/components/ownership/owner_settings_service.h b/components/ownership/owner_settings_service.h
index a642bf2870524200562d21c4d80ef95dbdb0b859..079807860537ed4b2b1edbed15923181c8f02532 100644
--- a/components/ownership/owner_settings_service.h
+++ b/components/ownership/owner_settings_service.h
@@ -87,6 +87,10 @@ class OWNERSHIP_EXPORT OwnerSettingsService : public KeyedService {
// Sets |setting| value to |value|.
virtual bool Set(const std::string& setting, const base::Value& value) = 0;
Mattias Nissler (ping if slow) 2014/10/24 08:08:02 Can we put a comment here saying that this functio
+ // Sets policy.
+ virtual bool SetPolicy(
+ scoped_ptr<enterprise_management::PolicyData> policy) = 0;
+
bool SetBoolean(const std::string& setting, bool value);
bool SetInteger(const std::string& setting, int value);
bool SetDouble(const std::string& setting, double value);

Powered by Google App Engine
This is Rietveld 408576698