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

Unified Diff: chrome/browser/prefs/command_line_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/command_line_pref_store.cc
diff --git a/chrome/browser/prefs/command_line_pref_store.cc b/chrome/browser/prefs/command_line_pref_store.cc
index 021be741cd0ee7747f9ff360971e68ae06790857..ebe0ef3b1dbea486de5f7cb8848f75ed0ccfe6d2 100644
--- a/chrome/browser/prefs/command_line_pref_store.cc
+++ b/chrome/browser/prefs/command_line_pref_store.cc
@@ -58,7 +58,7 @@ void CommandLinePrefStore::ApplySimpleSwitches() {
// Look for each switch we know about and set its preference accordingly.
for (size_t i = 0; i < arraysize(string_switch_map_); ++i) {
if (command_line_->HasSwitch(string_switch_map_[i].switch_name)) {
- Value* value = Value::CreateStringValue(command_line_->
+ Value* value = base::StringValue::New(command_line_->
GetSwitchValueASCII(string_switch_map_[i].switch_name));
SetValue(string_switch_map_[i].preference_path, value);
}
@@ -66,7 +66,7 @@ void CommandLinePrefStore::ApplySimpleSwitches() {
for (size_t i = 0; i < arraysize(boolean_switch_map_); ++i) {
if (command_line_->HasSwitch(boolean_switch_map_[i].switch_name)) {
- Value* value = Value::CreateBooleanValue(
+ Value* value = base::BooleanValue::New(
boolean_switch_map_[i].set_value);
SetValue(boolean_switch_map_[i].preference_path, value);
}
@@ -118,7 +118,7 @@ void CommandLinePrefStore::ApplySSLSwitches() {
base::ListValue* list_value = new base::ListValue();
for (std::vector<std::string>::const_iterator it = cipher_strings.begin();
it != cipher_strings.end(); ++it) {
- list_value->Append(base::Value::CreateStringValue(*it));
+ list_value->Append(base::StringValue::New(*it));
}
SetValue(prefs::kCipherSuiteBlacklist, list_value);
}
« no previous file with comments | « chrome/browser/policy/user_policy_cache_unittest.cc ('k') | chrome/browser/prefs/incognito_mode_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698