diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-08 22:55:55 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-08 22:55:55 +0000 |
commit | e0832490090b060c31ba3e93e74f6b8fed573dbd (patch) | |
tree | 85b8774a816cded4f45610bf4549d1b15d3fadef /chrome/service/service_process_prefs.cc | |
parent | aa90589bdd060bb7df2d950e1d648c1a91cd6b4f (diff) | |
download | chromium_src-e0832490090b060c31ba3e93e74f6b8fed573dbd.zip chromium_src-e0832490090b060c31ba3e93e74f6b8fed573dbd.tar.gz chromium_src-e0832490090b060c31ba3e93e74f6b8fed573dbd.tar.bz2 |
New Cloud Print Private API.
Renamed cloudPrintPrivate.setCredentials -> cloudPrintPrivate.setupConnector
Added cloudPrintPrivate.getHostName
Added cloudPrintPrivate.getPrinters
Extracted test logic from cloud_print_private_api.cc
BUG=137129
Review URL: https://chromiumcodereview.appspot.com/11037005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160734 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/service_process_prefs.cc')
-rw-r--r-- | chrome/service/service_process_prefs.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/service/service_process_prefs.cc b/chrome/service/service_process_prefs.cc index e1aca1a1..7de70a4 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); } |