diff options
author | ycxiao@chromium.org <ycxiao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 23:28:15 +0000 |
---|---|---|
committer | ycxiao@chromium.org <ycxiao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 23:28:15 +0000 |
commit | a4d965d6457ad587e19821eb5541082e3d17fdc9 (patch) | |
tree | 783cce366834675ed1080c23885a2484500a8f52 /chrome/browser/content_settings/tab_specific_content_settings.h | |
parent | 199f0db1e6024df05750b6560cd6a672909864c2 (diff) | |
download | chromium_src-a4d965d6457ad587e19821eb5541082e3d17fdc9.zip chromium_src-a4d965d6457ad587e19821eb5541082e3d17fdc9.tar.gz chromium_src-a4d965d6457ad587e19821eb5541082e3d17fdc9.tar.bz2 |
Creat BrowsingDataCookieHelper and CannedBrowsingDataCookieHelper for logging cookies at UI thread.
BUG=XXX
TEST=XXX
Review URL: http://codereview.chromium.org/7355025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/content_settings/tab_specific_content_settings.h')
-rw-r--r-- | chrome/browser/content_settings/tab_specific_content_settings.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.h b/chrome/browser/content_settings/tab_specific_content_settings.h index 448844d..e104d30 100644 --- a/chrome/browser/content_settings/tab_specific_content_settings.h +++ b/chrome/browser/content_settings/tab_specific_content_settings.h @@ -6,6 +6,9 @@ #define CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ #pragma once +#include <set> +#include <string> + #include "base/basictypes.h" #include "chrome/browser/geolocation/geolocation_settings_state.h" #include "chrome/common/content_settings.h" @@ -16,6 +19,7 @@ #include "content/common/notification_registrar.h" class CannedBrowsingDataAppCacheHelper; +class CannedBrowsingDataCookieHelper; class CannedBrowsingDataDatabaseHelper; class CannedBrowsingDataFileSystemHelper; class CannedBrowsingDataIndexedDBHelper; @@ -27,7 +31,6 @@ struct ContentSettings; namespace net { class CookieList; -class CookieMonster; class CookieOptions; } @@ -205,10 +208,12 @@ class TabSpecificContentSettings : public TabContentsObserver, // Empties the container. void Reset(); - net::CookieMonster* cookies() const { return cookies_; } CannedBrowsingDataAppCacheHelper* appcaches() const { return appcaches_; } + CannedBrowsingDataCookieHelper* cookies() const { + return cookies_; + } CannedBrowsingDataDatabaseHelper* databases() const { return databases_; } @@ -230,15 +235,15 @@ class TabSpecificContentSettings : public TabContentsObserver, bool empty() const; private: - DISALLOW_COPY_AND_ASSIGN(LocalSharedObjectsContainer); - - scoped_refptr<net::CookieMonster> cookies_; scoped_refptr<CannedBrowsingDataAppCacheHelper> appcaches_; + scoped_refptr<CannedBrowsingDataCookieHelper> cookies_; scoped_refptr<CannedBrowsingDataDatabaseHelper> databases_; scoped_refptr<CannedBrowsingDataFileSystemHelper> file_systems_; scoped_refptr<CannedBrowsingDataIndexedDBHelper> indexed_dbs_; scoped_refptr<CannedBrowsingDataLocalStorageHelper> local_storages_; scoped_refptr<CannedBrowsingDataLocalStorageHelper> session_storages_; + + DISALLOW_COPY_AND_ASSIGN(LocalSharedObjectsContainer); }; void AddBlockedResource(ContentSettingsType content_type, |