summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-29 19:49:45 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-29 19:49:45 +0000
commite284e6d8f6079a7cfc8eb70f010cf2378253fb18 (patch)
tree9cd71a6abb4d08b700e477f7e779cc978a39717d /chrome/browser/profile.h
parenteb6b623883f7956e10bdf1f1749257f91b2d75a7 (diff)
downloadchromium_src-e284e6d8f6079a7cfc8eb70f010cf2378253fb18.zip
chromium_src-e284e6d8f6079a7cfc8eb70f010cf2378253fb18.tar.gz
chromium_src-e284e6d8f6079a7cfc8eb70f010cf2378253fb18.tar.bz2
Reland r37508. Implement HostContentSettingsMap.
BUG=none TEST=none Review URL: http://codereview.chromium.org/555172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37526 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index 0cc0e16..6f97fec 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -43,6 +43,7 @@ class ExtensionMessageService;
class ExtensionsService;
class FaviconService;
class HistoryService;
+class HostContentSettingsMap;
class HostZoomMap;
class NavigationController;
class NTPResourceCache;
@@ -288,6 +289,9 @@ class Profile {
// Returns the SSLConfigService for this profile.
virtual net::SSLConfigService* GetSSLConfigService() = 0;
+ // Returns the Hostname <-> Content settings map for this profile.
+ virtual HostContentSettingsMap* GetHostContentSettingsMap() = 0;
+
// Returns the Hostname <-> Zoom Level map for this profile.
virtual HostZoomMap* GetHostZoomMap() = 0;
@@ -437,6 +441,7 @@ class ProfileImpl : public Profile,
virtual URLRequestContextGetter* GetRequestContextForMedia();
virtual URLRequestContextGetter* GetRequestContextForExtensions();
virtual net::SSLConfigService* GetSSLConfigService();
+ virtual HostContentSettingsMap* GetHostContentSettingsMap();
virtual HostZoomMap* GetHostZoomMap();
virtual Blacklist* GetPrivacyBlacklist();
virtual SessionService* GetSessionService();
@@ -521,6 +526,7 @@ class ProfileImpl : public Profile,
scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
+ scoped_ptr<HostContentSettingsMap> host_content_settings_map_;
scoped_refptr<HostZoomMap> host_zoom_map_;
scoped_ptr<Blacklist> privacy_blacklist_;
scoped_refptr<DownloadManager> download_manager_;