| Index: chrome/browser/cookies_tree_model.h
|
| ===================================================================
|
| --- chrome/browser/cookies_tree_model.h (revision 95574)
|
| +++ chrome/browser/cookies_tree_model.h (working copy)
|
| @@ -25,7 +25,6 @@
|
| #include "net/base/cookie_monster.h"
|
| #include "ui/base/models/tree_node_model.h"
|
|
|
| -class BrowsingDataCookieHelper;
|
| class CookiesTreeModel;
|
| class CookieTreeAppCacheNode;
|
| class CookieTreeAppCachesNode;
|
| @@ -70,8 +69,8 @@
|
| TYPE_APPCACHE, // This is used for CookieTreeAppCacheNode.
|
| TYPE_INDEXED_DBS, // This is used for CookieTreeIndexedDBsNode.
|
| TYPE_INDEXED_DB, // This is used for CookieTreeIndexedDBNode.
|
| - TYPE_FILE_SYSTEMS, // This is used for CookieTreeFileSystemsNode.
|
| - TYPE_FILE_SYSTEM, // This is used for CookieTreeFileSystemNode.
|
| + TYPE_FILE_SYSTEMS, // This is used for CookieTreeFileSystemsNode.
|
| + TYPE_FILE_SYSTEM, // This is used for CookieTreeFileSystemNode.
|
| };
|
|
|
| // TODO(viettrungluu): Figure out whether we want to store |origin| as a
|
| @@ -515,7 +514,7 @@
|
| };
|
|
|
| CookiesTreeModel(
|
| - BrowsingDataCookieHelper* cookie_helper,
|
| + net::CookieMonster* cookie_monster_,
|
| BrowsingDataDatabaseHelper* database_helper,
|
| BrowsingDataLocalStorageHelper* local_storage_helper,
|
| BrowsingDataLocalStorageHelper* session_storage_helper,
|
| @@ -567,8 +566,10 @@
|
| typedef std::vector<BrowsingDataFileSystemHelper::FileSystemInfo>
|
| FileSystemInfoList;
|
|
|
| + void LoadCookies();
|
| + void LoadCookiesWithFilter(const std::wstring& filter);
|
| +
|
| void OnAppCacheModelInfoLoaded();
|
| - void OnCookiesModelInfoLoaded(const CookieList& cookie_list);
|
| void OnDatabaseModelInfoLoaded(const DatabaseInfoList& database_info);
|
| void OnLocalStorageModelInfoLoaded(
|
| const LocalStorageInfoList& local_storage_info);
|
| @@ -580,7 +581,6 @@
|
| const FileSystemInfoList& file_system_info);
|
|
|
| void PopulateAppCacheInfoWithFilter(const std::wstring& filter);
|
| - void PopulateCookieInfoWithFilter(const std::wstring& filter);
|
| void PopulateDatabaseInfoWithFilter(const std::wstring& filter);
|
| void PopulateLocalStorageInfoWithFilter(const std::wstring& filter);
|
| void PopulateSessionStorageInfoWithFilter(const std::wstring& filter);
|
| @@ -590,17 +590,18 @@
|
| void NotifyObserverBeginBatch();
|
| void NotifyObserverEndBatch();
|
|
|
| + scoped_refptr<net::CookieMonster> cookie_monster_;
|
| + CookieList all_cookies_;
|
| +
|
| scoped_refptr<BrowsingDataAppCacheHelper> appcache_helper_;
|
| - scoped_refptr<BrowsingDataCookieHelper> cookie_helper_;
|
| scoped_refptr<BrowsingDataDatabaseHelper> database_helper_;
|
| + scoped_refptr<appcache::AppCacheInfoCollection> appcache_info_;
|
| + DatabaseInfoList database_info_list_;
|
| +
|
| scoped_refptr<BrowsingDataLocalStorageHelper> local_storage_helper_;
|
| scoped_refptr<BrowsingDataLocalStorageHelper> session_storage_helper_;
|
| scoped_refptr<BrowsingDataIndexedDBHelper> indexed_db_helper_;
|
| scoped_refptr<BrowsingDataFileSystemHelper> file_system_helper_;
|
| -
|
| - scoped_refptr<appcache::AppCacheInfoCollection> appcache_info_;
|
| - CookieList cookie_list_;
|
| - DatabaseInfoList database_info_list_;
|
| LocalStorageInfoList local_storage_info_list_;
|
| LocalStorageInfoList session_storage_info_list_;
|
| IndexedDBInfoList indexed_db_info_list_;
|
|
|