diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-29 21:00:34 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-29 21:00:34 +0000 |
commit | 15e84d9dad946d522ca6b5acf7db721a4ea76946 (patch) | |
tree | af079dd93c04f3736f10ac77da8a86ce099cc4d2 /chrome/browser/profile.h | |
parent | 1cc71de3863b49ba125576bdff84d739356070fb (diff) | |
download | chromium_src-15e84d9dad946d522ca6b5acf7db721a4ea76946.zip chromium_src-15e84d9dad946d522ca6b5acf7db721a4ea76946.tar.gz chromium_src-15e84d9dad946d522ca6b5acf7db721a4ea76946.tar.bz2 |
Implement extended cookie controls.
BUG=32782
TEST=none
Review URL: http://codereview.chromium.org/554119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r-- | chrome/browser/profile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h index 6f97fec..3548a34 100644 --- a/chrome/browser/profile.h +++ b/chrome/browser/profile.h @@ -33,6 +33,7 @@ class DatabaseTracker; class Blacklist; class BookmarkModel; class BrowserThemeProvider; +class ChromeCookiePolicy; class ChromeURLRequestContextGetter; class DesktopNotificationService; class DownloadManager; @@ -308,6 +309,9 @@ class Profile { // should always check the return value for NULL. virtual SessionService* GetSessionService() = 0; + // Returns the cookie policy for this profile. + virtual ChromeCookiePolicy* GetCookiePolicy() = 0; + // If this profile has a session service, it is shut down. To properly record // the current state this forces creation of the session service, then shuts // it down. @@ -445,6 +449,7 @@ class ProfileImpl : public Profile, virtual HostZoomMap* GetHostZoomMap(); virtual Blacklist* GetPrivacyBlacklist(); virtual SessionService* GetSessionService(); + virtual ChromeCookiePolicy* GetCookiePolicy(); virtual void ShutdownSessionService(); virtual bool HasSessionService() const; virtual bool DidLastSessionExitCleanly(); @@ -529,6 +534,7 @@ class ProfileImpl : public Profile, scoped_ptr<HostContentSettingsMap> host_content_settings_map_; scoped_refptr<HostZoomMap> host_zoom_map_; scoped_ptr<Blacklist> privacy_blacklist_; + scoped_ptr<ChromeCookiePolicy> cookie_policy_; scoped_refptr<DownloadManager> download_manager_; scoped_refptr<HistoryService> history_service_; scoped_refptr<FaviconService> favicon_service_; |