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

Unified Diff: chrome/test/testing_pref_service.h

Issue 5441002: Clean up pref change notification handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix extension prefs breakage Created 10 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
« no previous file with comments | « chrome/common/pref_store_observer_mock.h ('k') | chrome/test/testing_pref_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/testing_pref_service.h
diff --git a/chrome/test/testing_pref_service.h b/chrome/test/testing_pref_service.h
index 6c60fcf0a90d31cf77f78919ef8ff6bf32a4d3e8..c5adc0210fd375c23d3c6ac528bb2b0b58abe7a2 100644
--- a/chrome/test/testing_pref_service.h
+++ b/chrome/test/testing_pref_service.h
@@ -25,10 +25,10 @@ class TestingPrefService : public PrefService {
// Create an instance that has a managed PrefStore and a command- line
// PrefStore. |managed_platform_provider| contains the provider with which to
// initialize the managed platform PrefStore. If it is NULL, then a
- // DummyPrefStore will be created. |device_management_provider| contains the
+ // TestingPrefStore will be created. |device_management_provider| contains the
// provider with which to initialize the device management
// PrefStore. |command_line| contains the provider with which to initialize
- // the command line PrefStore. If it is NULL then a DummyPrefStore will be
+ // the command line PrefStore. If it is NULL then a TestingPrefStore will be
// created as the command line PrefStore.
TestingPrefService(
policy::ConfigurationPolicyProvider* managed_platform_provider,
@@ -66,12 +66,12 @@ class TestingPrefService : public PrefService {
private:
// Creates a ConfigurationPolicyPrefStore based on the provided
- // |provider| or a DummyPrefStore if |provider| is NULL.
+ // |provider| or a TestingPrefStore if |provider| is NULL.
PrefStore* CreatePolicyPrefStoreFromProvider(
policy::ConfigurationPolicyProvider* provider);
// Creates a CommandLinePrefStore based on the supplied
- // |command_line| or a DummyPrefStore if |command_line| is NULL.
+ // |command_line| or a TestingPrefStore if |command_line| is NULL.
PrefStore* CreateCommandLinePrefStore(CommandLine* command_line);
// Reads the value of the preference indicated by |path| from |pref_store|.
« no previous file with comments | « chrome/common/pref_store_observer_mock.h ('k') | chrome/test/testing_pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698