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

Unified Diff: chrome/browser/prefs/testing_pref_store.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/browser/prefs/testing_pref_store.cc
diff --git a/chrome/browser/prefs/testing_pref_store.cc b/chrome/browser/prefs/testing_pref_store.cc
index d08016914740a30e3c2459b19ca7f9556dd9b5ba..16c8bb7c6d0cc2db0daedf2e4382cffcea023aae 100644
--- a/chrome/browser/prefs/testing_pref_store.cc
+++ b/chrome/browser/prefs/testing_pref_store.cc
@@ -89,15 +89,15 @@ void TestingPrefStore::ReportValueChanged(const std::string& key) {
void TestingPrefStore::SetString(const std::string& key,
const std::string& value) {
- SetValue(key, Value::CreateStringValue(value));
+ SetValue(key, base::StringValue::New(value));
}
void TestingPrefStore::SetInteger(const std::string& key, int value) {
- SetValue(key, Value::CreateIntegerValue(value));
+ SetValue(key, base::NumberValue::New(value));
}
void TestingPrefStore::SetBoolean(const std::string& key, bool value) {
- SetValue(key, Value::CreateBooleanValue(value));
+ SetValue(key, base::BooleanValue::New(value));
}
bool TestingPrefStore::GetString(const std::string& key,
« no previous file with comments | « chrome/browser/prefs/session_startup_pref_unittest.cc ('k') | chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698