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

Unified Diff: content/browser/tab_contents/tab_contents.h

Issue 8568019: Introduce per-tab preferences service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: content/browser/tab_contents/tab_contents.h
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index 7db1b49212d69ae75df8460d1ef6f3acabbcde8c..1624721c211d5f535694e8da747c717258d26fcd 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -38,6 +38,7 @@
class DownloadItem;
class LoadNotificationDetails;
+class PrefService;
class RenderViewHost;
class SessionStorageNamespace;
class SiteInstance;
@@ -870,6 +871,9 @@ class CONTENT_EXPORT TabContents : public PageNavigator,
// Our view type. Default is VIEW_TYPE_TAB_CONTENTS.
content::ViewType view_type_;
+ // Allows overriding user preferences per tab.
+ scoped_ptr<PrefService> per_tab_prefs_;
+
DISALLOW_COPY_AND_ASSIGN(TabContents);
};

Powered by Google App Engine
This is Rietveld 408576698