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

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

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.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index e60dd6bd2ac042c1c15181c0719bc7819059078d..cf7620dcece09f3ac21d87fcdd9ee1f10000c110 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -223,6 +223,7 @@ void ProfileIOData::InitializeProfileParams(Profile* profile) {
params->io_thread = g_browser_process->io_thread();
params->host_content_settings_map = profile->GetHostContentSettingsMap();
+ params->cookie_content_settings = profile->GetCookieContentSettings();
params->host_zoom_map = profile->GetHostZoomMap();
params->transport_security_state = profile->GetTransportSecurityState();
params->ssl_config_service = profile->GetSSLConfigService();
@@ -368,6 +369,10 @@ HostContentSettingsMap* ProfileIOData::GetHostContentSettingsMap() const {
return host_content_settings_map_;
}
+CookieContentSettings* ProfileIOData::GetCookieContentSettings() const {
+ return cookie_content_settings_;
+}
+
DesktopNotificationService* ProfileIOData::GetNotificationService() const {
return notification_service_;
}
@@ -470,6 +475,7 @@ void ProfileIOData::LazyInitialize() const {
quota_manager_ = profile_params_->quota_manager;
host_zoom_map_ = profile_params_->host_zoom_map;
host_content_settings_map_ = profile_params_->host_content_settings_map;
+ cookie_content_settings_ = profile_params_->cookie_content_settings;
notification_service_ = profile_params_->notification_service;
extension_info_map_ = profile_params_->extension_info_map;
prerender_manager_getter_ = profile_params_->prerender_manager_getter;

Powered by Google App Engine
This is Rietveld 408576698