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

Unified Diff: chrome/browser/net/chrome_url_request_context_unittest.cc

Issue 3032058: Move creation of the PrefStores into the PrefValueStore, to reduce the knowle... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Comment-only changes Created 10 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/net/chrome_url_request_context_unittest.cc
===================================================================
--- chrome/browser/net/chrome_url_request_context_unittest.cc (revision 55061)
+++ chrome/browser/net/chrome_url_request_context_unittest.cc (working copy)
@@ -9,6 +9,7 @@
#include "chrome/browser/configuration_policy_pref_store.h"
#include "chrome/browser/pref_value_store.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/test/testing_pref_service.h"
#include "net/proxy/proxy_config.h"
#include "net/proxy/proxy_config_service_common_unittest.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -157,7 +158,7 @@
SCOPED_TRACE(StringPrintf("Test[%" PRIuS "] %s", i,
tests[i].description.c_str()));
CommandLine command_line(tests[i].command_line);
- PrefService prefs(new PrefValueStore(
+ PrefService prefs(new TestingPrefService::TestingPrefValueStore(
new ConfigurationPolicyPrefStore(&command_line, NULL),
NULL, NULL, NULL, NULL)); // Only configuration-policy prefs.
ChromeURLRequestContextGetter::RegisterUserPrefs(&prefs);

Powered by Google App Engine
This is Rietveld 408576698