diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-31 07:58:26 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-31 07:58:26 +0000 |
commit | f8e51deb3a20a4790b6b241708f4f187552d01f3 (patch) | |
tree | 322ceba90fa0b5058c34bb5c14802f2b2385e3a3 /chrome/browser/cookies_tree_model.h | |
parent | b660ea9f243a3e3d37fb94605c05dfbc5f660d9f (diff) | |
download | chromium_src-f8e51deb3a20a4790b6b241708f4f187552d01f3.zip chromium_src-f8e51deb3a20a4790b6b241708f4f187552d01f3.tar.gz chromium_src-f8e51deb3a20a4790b6b241708f4f187552d01f3.tar.bz2 |
Initialize CookiesTreeModel with a cookie monster instead of a profil.
BUG=45230
TEST=unit_tests
Review URL: http://codereview.chromium.org/2369001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cookies_tree_model.h')
-rw-r--r-- | chrome/browser/cookies_tree_model.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/cookies_tree_model.h b/chrome/browser/cookies_tree_model.h index 7b68640..1a07785 100644 --- a/chrome/browser/cookies_tree_model.h +++ b/chrome/browser/cookies_tree_model.h @@ -26,7 +26,6 @@ class CookieTreeDatabasesNode; class CookieTreeLocalStorageNode; class CookieTreeLocalStoragesNode; class CookieTreeOriginNode; -class Profile; // CookieTreeNode ------------------------------------------------------------- // The base node type in the Cookies, Databases, and Local Storage options @@ -357,7 +356,7 @@ class CookiesTreeModel : public TreeNodeModel<CookieTreeNode> { }; CookiesTreeModel( - Profile* profile, + net::CookieMonster* cookie_monster_, BrowsingDataDatabaseHelper* database_helper, BrowsingDataLocalStorageHelper* local_storage_helper, BrowsingDataAppCacheHelper* appcache_helper); @@ -417,8 +416,7 @@ class CookiesTreeModel : public TreeNodeModel<CookieTreeNode> { void NotifyObserverBeginBatch(); void NotifyObserverEndBatch(); - // The profile from which this model sources cookies. - Profile* profile_; + scoped_refptr<net::CookieMonster> cookie_monster_; CookieList all_cookies_; scoped_refptr<BrowsingDataAppCacheHelper> appcache_helper_; |