| Index: chrome/test/testing_pref_service.cc
|
| ===================================================================
|
| --- chrome/test/testing_pref_service.cc (revision 55061)
|
| +++ chrome/test/testing_pref_service.cc (working copy)
|
| @@ -7,8 +7,20 @@
|
| #include "chrome/browser/dummy_pref_store.h"
|
| #include "chrome/browser/pref_value_store.h"
|
|
|
| +TestingPrefService::TestingPrefValueStore::TestingPrefValueStore(
|
| + PrefStore* managed_prefs,
|
| + PrefStore* extension_prefs,
|
| + PrefStore* command_line_prefs,
|
| + PrefStore* user_prefs,
|
| + PrefStore* recommended_prefs)
|
| + : PrefValueStore(managed_prefs, extension_prefs, command_line_prefs,
|
| + user_prefs, recommended_prefs) {
|
| +}
|
| +
|
| +// TODO(pamg): Instantiate no PrefStores by default. Allow callers to specify
|
| +// which they want, and expand usage of this class to more unit tests.
|
| TestingPrefService::TestingPrefService()
|
| - : PrefService(new PrefValueStore(
|
| + : PrefService(new TestingPrefValueStore(
|
| managed_prefs_ = new DummyPrefStore(),
|
| NULL,
|
| NULL,
|
|
|
| Property changes on: chrome\test\testing_pref_service.cc
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|