| 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/local_data_container.h" | 26 #include "chrome/browser/browsing_data/local_data_container.h" |
| 27 #include "chrome/common/content_settings.h" | 27 #include "chrome/common/content_settings.h" |
| 28 #include "chrome/common/extensions/extension_set.h" | 28 #include "extensions/common/extension_set.h" |
| 29 #include "net/ssl/server_bound_cert_store.h" | 29 #include "net/ssl/server_bound_cert_store.h" |
| 30 #include "ui/base/models/tree_node_model.h" | 30 #include "ui/base/models/tree_node_model.h" |
| 31 | 31 |
| 32 class BrowsingDataCookieHelper; | 32 class BrowsingDataCookieHelper; |
| 33 class BrowsingDataServerBoundCertHelper; | 33 class BrowsingDataServerBoundCertHelper; |
| 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 CookieTreeCookieNode; | 38 class CookieTreeCookieNode; |
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 // Otherwise, use the CanonicalCookie::Domain attribute. | 726 // Otherwise, use the CanonicalCookie::Domain attribute. |
| 727 bool group_by_cookie_source_; | 727 bool group_by_cookie_source_; |
| 728 | 728 |
| 729 // If this is non-zero, then this model is batching updates (there's a lot of | 729 // If this is non-zero, then this model is batching updates (there's a lot of |
| 730 // notifications coming down the pipe). This is an integer is used to balance | 730 // notifications coming down the pipe). This is an integer is used to balance |
| 731 // calls to Begin/EndBatch() if they're called in a nested manner. | 731 // calls to Begin/EndBatch() if they're called in a nested manner. |
| 732 int batch_update_; | 732 int batch_update_; |
| 733 }; | 733 }; |
| 734 | 734 |
| 735 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ | 735 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ |
| OLD | NEW |