| 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 |
| 11 #include <list> | 11 #include <list> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 18 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
| 19 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
| 20 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h" | 20 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h" |
| 21 #include "chrome/browser/browsing_data/browsing_data_database_helper.h" | 21 #include "chrome/browser/browsing_data/browsing_data_database_helper.h" |
| 22 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h" | 22 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h" |
| 23 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" | 23 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" |
| 24 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" | 24 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" |
| 25 #include "chrome/browser/browsing_data/browsing_data_quota_helper.h" | 25 #include "chrome/browser/browsing_data/browsing_data_quota_helper.h" |
| 26 #include "chrome/browser/browsing_data/browsing_data_service_worker_helper.h" | 26 #include "chrome/browser/browsing_data/browsing_data_service_worker_helper.h" |
| 27 #include "chrome/browser/browsing_data/local_data_container.h" | 27 #include "chrome/browser/browsing_data/local_data_container.h" |
| 28 #include "chrome/common/content_settings.h" | 28 #include "components/content_settings/core/common/content_settings.h" |
| 29 #include "net/ssl/channel_id_store.h" | 29 #include "net/ssl/channel_id_store.h" |
| 30 #include "ui/base/models/tree_node_model.h" | 30 #include "ui/base/models/tree_node_model.h" |
| 31 | 31 |
| 32 class BrowsingDataChannelIDHelper; | 32 class BrowsingDataChannelIDHelper; |
| 33 class BrowsingDataCookieHelper; | 33 class BrowsingDataCookieHelper; |
| 34 class CookieSettings; | 34 class CookieSettings; |
| 35 class CookiesTreeModel; | 35 class CookiesTreeModel; |
| 36 class CookieTreeAppCacheNode; | 36 class CookieTreeAppCacheNode; |
| 37 class CookieTreeAppCachesNode; | 37 class CookieTreeAppCachesNode; |
| 38 class CookieTreeChannelIDNode; | 38 class CookieTreeChannelIDNode; |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 // Otherwise, use the CanonicalCookie::Domain attribute. | 782 // Otherwise, use the CanonicalCookie::Domain attribute. |
| 783 bool group_by_cookie_source_; | 783 bool group_by_cookie_source_; |
| 784 | 784 |
| 785 // If this is non-zero, then this model is batching updates (there's a lot of | 785 // If this is non-zero, then this model is batching updates (there's a lot of |
| 786 // notifications coming down the pipe). This is an integer is used to balance | 786 // notifications coming down the pipe). This is an integer is used to balance |
| 787 // calls to Begin/EndBatch() if they're called in a nested manner. | 787 // calls to Begin/EndBatch() if they're called in a nested manner. |
| 788 int batch_update_; | 788 int batch_update_; |
| 789 }; | 789 }; |
| 790 | 790 |
| 791 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ | 791 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ |
| OLD | NEW |