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

Unified Diff: chrome/test/testing_pref_service.h

Issue 5213002: Fix for Bug 50726 "Save extension list and "winning" prefs from extensions" (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressed comments, moved ExtensionPrefStore reference to Profile Created 10 years, 1 month 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/test/testing_pref_service.h
diff --git a/chrome/test/testing_pref_service.h b/chrome/test/testing_pref_service.h
index 069ff321af23a1bc7c62a3ec75b00d48caae8f1e..de4fecb6c75af8a7d49ff57338368c32cc9b7253 100644
--- a/chrome/test/testing_pref_service.h
+++ b/chrome/test/testing_pref_service.h
@@ -34,6 +34,15 @@ class TestingPrefService : public PrefService {
// Create an empty instance.
TestingPrefService();
+ // Create an instance with specific pref stores.
+ TestingPrefService(PrefStore* managed_prefs,
+ PrefStore* device_management_prefs,
+ PrefStore* extension_prefs,
+ PrefStore* command_line_prefs,
+ PrefStore* user_prefs,
+ PrefStore* recommended_prefs,
+ PrefStore* default_prefs);
+
// 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

Powered by Google App Engine
This is Rietveld 408576698