diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 23:40:02 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 23:40:02 +0000 |
commit | d68a4fc6f448c6ebf407e2817320e7736c4735ee (patch) | |
tree | d76e2c91aa67af5a880ec81eddcbf2d12887e865 /chrome/browser/cookies_tree_model.h | |
parent | 63eb6c0bebc31046bbd954ef21dee86dca9d7fe3 (diff) | |
download | chromium_src-d68a4fc6f448c6ebf407e2817320e7736c4735ee.zip chromium_src-d68a4fc6f448c6ebf407e2817320e7736c4735ee.tar.gz chromium_src-d68a4fc6f448c6ebf407e2817320e7736c4735ee.tar.bz2 |
Hook up the content settings UI to the appcache.
* Populate the tree view with appcaches
* Delete selected appcaches from the tree view
* Delete the date range indicated in the browsing data remover
TEST=manual
BUG=34634
Review URL: http://codereview.chromium.org/660423
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cookies_tree_model.h')
-rw-r--r-- | chrome/browser/cookies_tree_model.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/cookies_tree_model.h b/chrome/browser/cookies_tree_model.h index 056fe5f..50f2e4a 100644 --- a/chrome/browser/cookies_tree_model.h +++ b/chrome/browser/cookies_tree_model.h @@ -57,7 +57,7 @@ class CookieTreeNode : public TreeNode<CookieTreeNode> { const BrowsingDataDatabaseHelper::DatabaseInfo* database_info, const BrowsingDataLocalStorageHelper::LocalStorageInfo* local_storage_info, - const BrowsingDataAppCacheHelper::AppCacheInfo* appcache_info) + const appcache::AppCacheInfo* appcache_info) : origin(origin), node_type(node_type), cookie(cookie), @@ -74,7 +74,7 @@ class CookieTreeNode : public TreeNode<CookieTreeNode> { const net::CookieMonster::CookieListPair* cookie; const BrowsingDataDatabaseHelper::DatabaseInfo* database_info; const BrowsingDataLocalStorageHelper::LocalStorageInfo* local_storage_info; - const BrowsingDataAppCacheHelper::AppCacheInfo* appcache_info; + const appcache::AppCacheInfo* appcache_info; }; CookieTreeNode() {} @@ -217,7 +217,7 @@ class CookieTreeAppCacheNode : public CookieTreeNode { // Does not take ownership of appcache_info, and appcache_info should remain // valid at least as long as the CookieTreeAppCacheNode is valid. explicit CookieTreeAppCacheNode( - const BrowsingDataAppCacheHelper::AppCacheInfo* appcache_info); + const appcache::AppCacheInfo* appcache_info); virtual ~CookieTreeAppCacheNode() {} virtual void DeleteStoredObjects(); @@ -228,7 +228,7 @@ class CookieTreeAppCacheNode : public CookieTreeNode { } private: - const BrowsingDataAppCacheHelper::AppCacheInfo* appcache_info_; + const appcache::AppCacheInfo* appcache_info_; DISALLOW_COPY_AND_ASSIGN(CookieTreeAppCacheNode); }; @@ -398,8 +398,6 @@ class CookiesTreeModel : public TreeNodeModel<CookieTreeNode> { }; typedef net::CookieMonster::CookieList CookieList; typedef std::vector<net::CookieMonster::CookieListPair*> CookiePtrList; - typedef std::vector<BrowsingDataAppCacheHelper::AppCacheInfo> - AppCacheInfoList; typedef std::vector<BrowsingDataDatabaseHelper::DatabaseInfo> DatabaseInfoList; typedef std::vector<BrowsingDataLocalStorageHelper::LocalStorageInfo> @@ -427,6 +425,7 @@ class CookiesTreeModel : public TreeNodeModel<CookieTreeNode> { scoped_refptr<BrowsingDataAppCacheHelper> appcache_helper_; scoped_refptr<BrowsingDataDatabaseHelper> database_helper_; + scoped_refptr<appcache::AppCacheInfoCollection> appcache_info_; DatabaseInfoList database_info_list_; scoped_refptr<BrowsingDataLocalStorageHelper> local_storage_helper_; |