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

Unified Diff: chrome/browser/io_thread.h

Issue 6773006: Add enableReferrers and enableHyperlinkAuditing to contentSettings.misc API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forward-declare booleanprefmember Created 9 years, 8 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/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 019b594487d3c940fd8338cb72228a7dca267f54..dd808ebdd1b53484322bcb384613567c5bbf7e0d 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -19,6 +19,7 @@ class ChromeNetLog;
class ChromeURLRequestContextGetter;
class ExtensionEventRouterForwarder;
class ListValue;
+template<class T> class PrefMember;
class PrefProxyConfigTracker;
class PrefService;
class SystemURLRequestContextGetter;
@@ -44,6 +45,8 @@ class URLRequestContextGetter;
class URLSecurityManager;
} // namespace net
+typedef PrefMember<bool> BooleanPrefMember;
+
class IOThread : public BrowserProcessSubThread {
public:
struct Globals {
@@ -177,6 +180,8 @@ class IOThread : public BrowserProcessSubThread {
scoped_ptr<net::NetworkChangeNotifier::IPAddressObserver>
network_change_observer_;
+ scoped_ptr<BooleanPrefMember> enable_referrers_;
+
// Store HTTP Auth-related policies in this thread.
std::string auth_schemes_;
bool negotiate_disable_cname_lookup_;

Powered by Google App Engine
This is Rietveld 408576698