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

Unified Diff: chrome/browser/extensions/test_extension_prefs.h

Issue 5915004: Introduce incognito preference settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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
Index: chrome/browser/extensions/test_extension_prefs.h
diff --git a/chrome/browser/extensions/test_extension_prefs.h b/chrome/browser/extensions/test_extension_prefs.h
index 3220d7a263bdf34792ddecc54484364135217d3c..7d13eb03721b8f27d699ebaf25bc9b904c1dccbe 100644
--- a/chrome/browser/extensions/test_extension_prefs.h
+++ b/chrome/browser/extensions/test_extension_prefs.h
@@ -25,6 +25,9 @@ class TestExtensionPrefs {
ExtensionPrefs* prefs() { return prefs_.get(); }
PrefService* pref_service() { return pref_service_.get(); }
+ PrefService* incognito_pref_service() {
+ return incognito_pref_service_.get();
+ }
const FilePath& temp_dir() const { return temp_dir_.path(); }
// This will cause the ExtensionPrefs to be deleted and recreated, based on
@@ -49,6 +52,7 @@ class TestExtensionPrefs {
FilePath preferences_file_;
FilePath extensions_dir_;
scoped_ptr<PrefService> pref_service_;
+ scoped_ptr<PrefService> incognito_pref_service_;
scoped_ptr<ExtensionPrefs> prefs_;
private:

Powered by Google App Engine
This is Rietveld 408576698