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

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

Issue 7713034: HostContentSettingsMap refactoring. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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 14b1ef8555c4a975336896bc9b390527a70127a7..bf3a5ca3d2499dc9d5ce01b1cb5c268a911860bb 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -22,6 +22,7 @@
class CommandLine;
class ChromeAppCacheService;
class ChromeBlobStorageContext;
+class CookieContentSettings;
class DesktopNotificationService;
class ExtensionInfoMap;
class HostContentSettingsMap;
@@ -94,6 +95,7 @@ class ProfileIOData {
// that profile.
ExtensionInfoMap* GetExtensionInfoMap() const;
HostContentSettingsMap* GetHostContentSettingsMap() const;
+ CookieContentSettings* GetCookieContentSettings() const;
DesktopNotificationService* GetNotificationService() const;
BooleanPrefMember* clear_local_state_on_exit() const {
@@ -135,6 +137,7 @@ class ProfileIOData {
std::string referrer_charset;
IOThread* io_thread;
scoped_refptr<HostContentSettingsMap> host_content_settings_map;
+ scoped_refptr<CookieContentSettings> cookie_content_settings;
scoped_refptr<HostZoomMap> host_zoom_map;
scoped_refptr<net::TransportSecurityState> transport_security_state;
scoped_refptr<net::SSLConfigService> ssl_config_service;
@@ -278,6 +281,7 @@ class ProfileIOData {
// TODO(willchan): Remove from ResourceContext.
mutable scoped_refptr<ExtensionInfoMap> extension_info_map_;
mutable scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
+ mutable scoped_refptr<CookieContentSettings> cookie_content_settings_;
mutable DesktopNotificationService* notification_service_;
mutable base::Callback<prerender::PrerenderManager*(void)>
prerender_manager_getter_;

Powered by Google App Engine
This is Rietveld 408576698