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

Unified Diff: chrome/browser/prefs/command_line_pref_store.cc

Issue 104493005: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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 8c1e9dd9b1fd36da8b46e03dfd88ed9b7fb4aaa4..ea4238bd4ad07f6122976d4fd5bc7804a037614d 100644
--- a/chrome/browser/prefs/command_line_pref_store.cc
+++ b/chrome/browser/prefs/command_line_pref_store.cc
@@ -111,7 +111,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_->
+ base::Value* value = base::Value::CreateStringValue(command_line_->
GetSwitchValueASCII(string_switch_map_[i].switch_name));
SetValue(string_switch_map_[i].preference_path, value);
}
@@ -128,14 +128,14 @@ void CommandLinePrefStore::ApplySimpleSwitches() {
<< " can not be converted to integer, ignoring!";
continue;
}
- Value* value = Value::CreateIntegerValue(int_value);
+ base::Value* value = base::Value::CreateIntegerValue(int_value);
SetValue(integer_switch_map_[i].preference_path, value);
}
}
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(
+ base::Value* value = base::Value::CreateBooleanValue(
boolean_switch_map_[i].set_value);
SetValue(boolean_switch_map_[i].preference_path, value);
}
@@ -183,7 +183,7 @@ void CommandLinePrefStore::ApplySSLSwitches() {
void CommandLinePrefStore::ApplyBackgroundModeSwitches() {
if (command_line_->HasSwitch(switches::kDisableBackgroundMode) ||
command_line_->HasSwitch(switches::kDisableExtensions)) {
- Value* value = Value::CreateBooleanValue(false);
+ base::Value* value = base::Value::CreateBooleanValue(false);
SetValue(prefs::kBackgroundModeEnabled, value);
}
}
« no previous file with comments | « chrome/browser/prefs/chrome_pref_service_unittest.cc ('k') | chrome/browser/prefs/command_line_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698