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 <memory> |
12 #include <string> | 13 #include <string> |
13 #include <vector> | 14 #include <vector> |
14 | 15 |
15 #include "base/macros.h" | 16 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
20 #include "base/strings/string16.h" | 20 #include "base/strings/string16.h" |
21 #include "base/strings/utf_string_conversions.h" | 21 #include "base/strings/utf_string_conversions.h" |
22 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h" | 22 #include "chrome/browser/browsing_data/browsing_data_appcache_helper.h" |
23 #include "chrome/browser/browsing_data/browsing_data_cache_storage_helper.h" | 23 #include "chrome/browser/browsing_data/browsing_data_cache_storage_helper.h" |
24 #include "chrome/browser/browsing_data/browsing_data_database_helper.h" | 24 #include "chrome/browser/browsing_data/browsing_data_database_helper.h" |
25 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h" | 25 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h" |
26 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" | 26 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" |
27 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" | 27 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" |
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 | 875 |
876 // Counts how many batches have started already. If this is non-zero and lower | 876 // Counts how many batches have started already. If this is non-zero and lower |
877 // than batches_ended_, then this model is still batching updates. | 877 // than batches_ended_, then this model is still batching updates. |
878 int batches_started_ = 0; | 878 int batches_started_ = 0; |
879 | 879 |
880 // Counts how many batches have finished. | 880 // Counts how many batches have finished. |
881 int batches_ended_ = 0; | 881 int batches_ended_ = 0; |
882 }; | 882 }; |
883 | 883 |
884 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ | 884 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ |
OLD | NEW |