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

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

Issue 1296663003: Componentize proxy code from chrome/browser/net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_unittest.cc
diff --git a/chrome/browser/prefs/command_line_pref_store_unittest.cc b/chrome/browser/prefs/command_line_pref_store_unittest.cc
index d515a1c7df4939cc6ebb55183d7b15fc6a0430de..2e7c709ce4ce06fe43b783f89dd4b5c8ddb79cf7 100644
--- a/chrome/browser/prefs/command_line_pref_store_unittest.cc
+++ b/chrome/browser/prefs/command_line_pref_store_unittest.cc
@@ -32,7 +32,7 @@ class TestCommandLinePrefStore : public CommandLinePrefStore {
void VerifyProxyMode(ProxyPrefs::ProxyMode expected_mode) {
const base::Value* value = NULL;
- ASSERT_TRUE(GetValue(prefs::kProxy, &value));
+ ASSERT_TRUE(GetValue(ProxyPrefs::kProxy, &value));
ASSERT_EQ(base::Value::TYPE_DICTIONARY, value->GetType());
ProxyConfigDictionary dict(
static_cast<const base::DictionaryValue*>(value));
@@ -114,7 +114,7 @@ TEST(CommandLinePrefStoreTest, MultipleSwitches) {
store->VerifyProxyMode(ProxyPrefs::MODE_FIXED_SERVERS);
const base::Value* value = NULL;
- ASSERT_TRUE(store->GetValue(prefs::kProxy, &value));
+ ASSERT_TRUE(store->GetValue(ProxyPrefs::kProxy, &value));
ASSERT_EQ(base::Value::TYPE_DICTIONARY, value->GetType());
ProxyConfigDictionary dict(static_cast<const base::DictionaryValue*>(value));

Powered by Google App Engine
This is Rietveld 408576698