OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSING_DATA_COOKIES_TREE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ |
7 | 7 |
8 // TODO(viettrungluu): This header file #includes far too much and has too much | 8 // TODO(viettrungluu): This header file #includes far too much and has too much |
9 // inline code (which shouldn't be inline). | 9 // inline code (which shouldn't be inline). |
10 | 10 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 TYPE_CHANNEL_IDS, // Used for CookieTreeChannelIDsNode. | 104 TYPE_CHANNEL_IDS, // Used for CookieTreeChannelIDsNode. |
105 TYPE_CHANNEL_ID, // Used for CookieTreeChannelIDNode. | 105 TYPE_CHANNEL_ID, // Used for CookieTreeChannelIDNode. |
106 TYPE_SERVICE_WORKERS, // This is used for CookieTreeServiceWorkersNode. | 106 TYPE_SERVICE_WORKERS, // This is used for CookieTreeServiceWorkersNode. |
107 TYPE_SERVICE_WORKER, // This is used for CookieTreeServiceWorkerNode. | 107 TYPE_SERVICE_WORKER, // This is used for CookieTreeServiceWorkerNode. |
108 TYPE_CACHE_STORAGES, // This is used for CookieTreeCacheStoragesNode. | 108 TYPE_CACHE_STORAGES, // This is used for CookieTreeCacheStoragesNode. |
109 TYPE_CACHE_STORAGE, // This is used for CookieTreeCacheStorageNode. | 109 TYPE_CACHE_STORAGE, // This is used for CookieTreeCacheStorageNode. |
110 TYPE_FLASH_LSO, // This is used for CookieTreeFlashLSONode. | 110 TYPE_FLASH_LSO, // This is used for CookieTreeFlashLSONode. |
111 }; | 111 }; |
112 | 112 |
113 DetailedInfo(); | 113 DetailedInfo(); |
| 114 DetailedInfo(const DetailedInfo& other); |
114 ~DetailedInfo(); | 115 ~DetailedInfo(); |
115 | 116 |
116 DetailedInfo& Init(NodeType type); | 117 DetailedInfo& Init(NodeType type); |
117 DetailedInfo& InitHost(); | 118 DetailedInfo& InitHost(); |
118 DetailedInfo& InitCookie(const net::CanonicalCookie* cookie); | 119 DetailedInfo& InitCookie(const net::CanonicalCookie* cookie); |
119 DetailedInfo& InitDatabase( | 120 DetailedInfo& InitDatabase( |
120 const BrowsingDataDatabaseHelper::DatabaseInfo* database_info); | 121 const BrowsingDataDatabaseHelper::DatabaseInfo* database_info); |
121 DetailedInfo& InitLocalStorage( | 122 DetailedInfo& InitLocalStorage( |
122 const BrowsingDataLocalStorageHelper::LocalStorageInfo* | 123 const BrowsingDataLocalStorageHelper::LocalStorageInfo* |
123 local_storage_info); | 124 local_storage_info); |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 | 874 |
874 // Counts how many batches have started already. If this is non-zero and lower | 875 // Counts how many batches have started already. If this is non-zero and lower |
875 // than batches_ended_, then this model is still batching updates. | 876 // than batches_ended_, then this model is still batching updates. |
876 int batches_started_ = 0; | 877 int batches_started_ = 0; |
877 | 878 |
878 // Counts how many batches have finished. | 879 // Counts how many batches have finished. |
879 int batches_ended_ = 0; | 880 int batches_ended_ = 0; |
880 }; | 881 }; |
881 | 882 |
882 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ | 883 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ |
OLD | NEW |