OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_COOKIES_TREE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_COOKIES_TREE_MODEL_H_ |
6 #define CHROME_BROWSER_COOKIES_TREE_MODEL_H_ | 6 #define CHROME_BROWSER_COOKIES_TREE_MODEL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 void LoadCookiesWithFilter(const std::wstring& filter); | 387 void LoadCookiesWithFilter(const std::wstring& filter); |
388 | 388 |
389 void OnAppCacheModelInfoLoaded(); | 389 void OnAppCacheModelInfoLoaded(); |
390 void OnDatabaseModelInfoLoaded(const DatabaseInfoList& database_info); | 390 void OnDatabaseModelInfoLoaded(const DatabaseInfoList& database_info); |
391 void OnStorageModelInfoLoaded(const LocalStorageInfoList& local_storage_info); | 391 void OnStorageModelInfoLoaded(const LocalStorageInfoList& local_storage_info); |
392 | 392 |
393 void PopulateAppCacheInfoWithFilter(const std::wstring& filter); | 393 void PopulateAppCacheInfoWithFilter(const std::wstring& filter); |
394 void PopulateDatabaseInfoWithFilter(const std::wstring& filter); | 394 void PopulateDatabaseInfoWithFilter(const std::wstring& filter); |
395 void PopulateLocalStorageInfoWithFilter(const std::wstring& filter); | 395 void PopulateLocalStorageInfoWithFilter(const std::wstring& filter); |
396 | 396 |
| 397 std::wstring FormExtensionNodeName(const std::string& extension_id); |
| 398 |
397 // The profile from which this model sources cookies. | 399 // The profile from which this model sources cookies. |
398 Profile* profile_; | 400 Profile* profile_; |
399 CookieList all_cookies_; | 401 CookieList all_cookies_; |
400 | 402 |
401 scoped_refptr<BrowsingDataAppCacheHelper> appcache_helper_; | 403 scoped_refptr<BrowsingDataAppCacheHelper> appcache_helper_; |
402 scoped_refptr<BrowsingDataDatabaseHelper> database_helper_; | 404 scoped_refptr<BrowsingDataDatabaseHelper> database_helper_; |
403 DatabaseInfoList database_info_list_; | 405 DatabaseInfoList database_info_list_; |
404 | 406 |
405 scoped_refptr<BrowsingDataLocalStorageHelper> local_storage_helper_; | 407 scoped_refptr<BrowsingDataLocalStorageHelper> local_storage_helper_; |
406 LocalStorageInfoList local_storage_info_list_; | 408 LocalStorageInfoList local_storage_info_list_; |
407 | 409 |
408 friend class CookieTreeAppCacheNode; | 410 friend class CookieTreeAppCacheNode; |
409 friend class CookieTreeCookieNode; | 411 friend class CookieTreeCookieNode; |
410 friend class CookieTreeDatabaseNode; | 412 friend class CookieTreeDatabaseNode; |
411 friend class CookieTreeLocalStorageNode; | 413 friend class CookieTreeLocalStorageNode; |
412 | 414 |
413 DISALLOW_COPY_AND_ASSIGN(CookiesTreeModel); | 415 DISALLOW_COPY_AND_ASSIGN(CookiesTreeModel); |
414 }; | 416 }; |
415 | 417 |
416 #endif // CHROME_BROWSER_COOKIES_TREE_MODEL_H_ | 418 #endif // CHROME_BROWSER_COOKIES_TREE_MODEL_H_ |
OLD | NEW |