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

Unified Diff: chrome/browser/ui/prefs/prefs_tab_helper.h

Issue 9015012: Get rid of trivial IncognitoUserPrefStore and PerTabUserPrefStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved overlay prefs registration code to prefs_tab_helper Created 8 years, 12 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/ui/prefs/prefs_tab_helper.h
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.h b/chrome/browser/ui/prefs/prefs_tab_helper.h
index d970efb73554f5ea6a85a81da4fbabcaaedc6289..e9fb202f5e987a8b14f25cbd8cc8c172bdea1a71 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.h
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.h
@@ -12,6 +12,7 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_contents_observer.h"
+class OverlayUserPrefStore;
class PrefService;
class Profile;
struct WebPreferences;
@@ -23,6 +24,8 @@ class PrefsTabHelper : public content::WebContentsObserver,
explicit PrefsTabHelper(content::WebContents* contents);
virtual ~PrefsTabHelper();
+ static void InitIncognitoUserPrefStore(OverlayUserPrefStore* pref_store);
+ static void InitPerTabUserPrefStore(OverlayUserPrefStore* pref_store);
static void RegisterUserPrefs(PrefService* prefs);
PrefService* per_tab_prefs() { return per_tab_prefs_.get(); }

Powered by Google App Engine
This is Rietveld 408576698