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

Unified Diff: chrome/service/service_process_prefs.cc

Issue 11037005: New Cloud Print Private API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: chrome/service/service_process_prefs.cc
diff --git a/chrome/service/service_process_prefs.cc b/chrome/service/service_process_prefs.cc
index e1aca1a1f7abe99d8f503be362b5858fb41cc902..7de70a4b573e39fab97d28f3ebe7d882d2c984a3 100644
--- a/chrome/service/service_process_prefs.cc
+++ b/chrome/service/service_process_prefs.cc
@@ -76,6 +76,10 @@ const base::ListValue* ServiceProcessPrefs::GetList(
return static_cast<const ListValue*>(value);
}
+void ServiceProcessPrefs::SetValue(const std::string& key, base::Value* value) {
+ prefs_->SetValue(key, value);
+}
+
void ServiceProcessPrefs::RemovePref(const std::string& key) {
prefs_->RemoveValue(key);
}

Powered by Google App Engine
This is Rietveld 408576698