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

Unified Diff: chrome/service/service_process_prefs.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 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 8eb29622038a08c679a9de185de8822094016088..8e367294a65d25292bfe676d8059c222fe11d652 100644
--- a/chrome/service/service_process_prefs.cc
+++ b/chrome/service/service_process_prefs.cc
@@ -31,7 +31,7 @@ void ServiceProcessPrefs::GetString(const std::string& key,
void ServiceProcessPrefs::SetString(const std::string& key,
const std::string& value) {
- prefs_->SetValue(key, Value::CreateStringValue(value));
+ prefs_->SetValue(key, base::StringValue::New(value));
}
void ServiceProcessPrefs::GetBoolean(const std::string& key, bool* result) {
@@ -41,7 +41,7 @@ void ServiceProcessPrefs::GetBoolean(const std::string& key, bool* result) {
}
void ServiceProcessPrefs::SetBoolean(const std::string& key, bool value) {
- prefs_->SetValue(key, Value::CreateBooleanValue(value));
+ prefs_->SetValue(key, base::BooleanValue::New(value));
}
void ServiceProcessPrefs::GetDictionary(const std::string& key,
« no previous file with comments | « chrome/renderer/automation/dom_automation_controller.cc ('k') | chrome/test/automation/automation_json_requests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698