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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 6773006: Add enableReferrers and enableHyperlinkAuditing to contentSettings.misc API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git try Created 9 years, 9 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/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index bb1e049bc83159c91f6742b00dc882099c4e3cba..b1f69edf7243c843b44fad51ff5b10c1e14b6c83 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -11,6 +11,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/net/chrome_url_request_context.h"
+#include "chrome/browser/prefs/pref_member.h"
#include "chrome/browser/profiles/profile.h"
#include "net/base/cookie_monster.h"
@@ -112,6 +113,8 @@ class ProfileIOData : public base::RefCountedThreadSafe<ProfileIOData> {
// because on linux it relies on initializing things through gconf,
// and needs to be on the main thread.
scoped_ptr<net::ProxyConfigService> proxy_config_service;
+ // Initialized on the UI thread.
+ scoped_ptr<BooleanPrefMember> enable_referrers;
Mattias Nissler (ping if slow) 2011/04/05 08:48:27 Any reason this can't be a regular data member, De
Bernhard Bauer 2011/04/05 10:48:34 I initialize it on the UI thread, and then pass it
// The profile this struct was populated from.
ProfileId profile_id;
};

Powered by Google App Engine
This is Rietveld 408576698