summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-30 16:11:27 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-30 16:11:27 +0000
commita307e31e82d2b9006802d4381dc5f3da2b993a8d (patch)
treee46d5b0b6ea59aa1fb7d47f917bc837b37dd88b8 /chrome/browser/profile.h
parent48a74f65c7775737ccee06a34eb5f73a5172172f (diff)
downloadchromium_src-a307e31e82d2b9006802d4381dc5f3da2b993a8d.zip
chromium_src-a307e31e82d2b9006802d4381dc5f3da2b993a8d.tar.gz
chromium_src-a307e31e82d2b9006802d4381dc5f3da2b993a8d.tar.bz2
Integrate BlacklistManager with Profile.
Now each Profile has a BlacklistManager that maintains a compiled Blacklist for that Profile. The system does not yet pause user-initiated web requests until the blacklist system is ready. However, the code is not supposed to be ready, and is hidden behind a --enable-privacy-blacklists command-line flag. TEST=Covered by browser_test. BUG=21541 Review URL: http://codereview.chromium.org/371063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33290 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index c931f31..010744a 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -31,7 +31,7 @@ namespace webkit_database {
class DatabaseTracker;
}
-class Blacklist;
+class BlacklistManager;
class BookmarkModel;
class BrowserThemeProvider;
class ChromeURLRequestContextGetter;
@@ -286,8 +286,8 @@ class Profile {
// Returns the SSLConfigService for this profile.
virtual net::SSLConfigService* GetSSLConfigService() = 0;
- // Returns the Privacy Blaclist for this profile.
- virtual Blacklist* GetBlacklist() = 0;
+ // Returns the Privacy Blacklist Manager for this profile.
+ virtual BlacklistManager* GetBlacklistManager() = 0;
// Returns the session service for this profile. This may return NULL. If
// this profile supports a session service (it isn't off the record), and
@@ -438,7 +438,7 @@ class ProfileImpl : public Profile,
virtual URLRequestContextGetter* GetRequestContextForMedia();
virtual URLRequestContextGetter* GetRequestContextForExtensions();
virtual net::SSLConfigService* GetSSLConfigService();
- virtual Blacklist* GetBlacklist();
+ virtual BlacklistManager* GetBlacklistManager();
virtual SessionService* GetSessionService();
virtual void ShutdownSessionService();
virtual bool HasSessionService() const;
@@ -525,8 +525,7 @@ class ProfileImpl : public Profile,
scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
- scoped_ptr<Blacklist> blacklist_;
-
+ scoped_refptr<BlacklistManager> blacklist_manager_;
scoped_refptr<DownloadManager> download_manager_;
scoped_refptr<HistoryService> history_service_;
scoped_refptr<FaviconService> favicon_service_;
@@ -538,6 +537,7 @@ class ProfileImpl : public Profile,
scoped_refptr<WebKitContext> webkit_context_;
scoped_ptr<DesktopNotificationService> desktop_notification_service_;
scoped_ptr<PersonalDataManager> personal_data_manager_;
+ bool blacklist_manager_created_;
bool history_service_created_;
bool favicon_service_created_;
bool created_web_data_service_;