OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_BROWSING_DATA_CONTENT_CONDITIONAL_CACHE_COUNTING_HELPER_H_ | 5 #ifndef COMPONENTS_BROWSING_DATA_CONTENT_CONDITIONAL_CACHE_COUNTING_HELPER_H_ |
6 #define COMPONENTS_BROWSING_DATA_CONTENT_CONDITIONAL_CACHE_COUNTING_HELPER_H_ | 6 #define COMPONENTS_BROWSING_DATA_CONTENT_CONDITIONAL_CACHE_COUNTING_HELPER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/sequenced_task_runner_helpers.h" |
11 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
12 #include "net/disk_cache/disk_cache.h" | 13 #include "net/disk_cache/disk_cache.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 class StoragePartition; | 16 class StoragePartition; |
16 } | 17 } |
17 | 18 |
18 namespace net { | 19 namespace net { |
19 class URLRequestContextGetter; | 20 class URLRequestContextGetter; |
20 } | 21 } |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 std::unique_ptr<disk_cache::Backend::Iterator> iterator_; | 89 std::unique_ptr<disk_cache::Backend::Iterator> iterator_; |
89 | 90 |
90 base::WeakPtrFactory<ConditionalCacheCountingHelper> weak_ptr_factory_; | 91 base::WeakPtrFactory<ConditionalCacheCountingHelper> weak_ptr_factory_; |
91 | 92 |
92 DISALLOW_COPY_AND_ASSIGN(ConditionalCacheCountingHelper); | 93 DISALLOW_COPY_AND_ASSIGN(ConditionalCacheCountingHelper); |
93 }; | 94 }; |
94 | 95 |
95 } // namespace browsing_data | 96 } // namespace browsing_data |
96 | 97 |
97 #endif // COMPONENTS_BROWSING_DATA_CONTENT_CONDITIONAL_CACHE_COUNTING_HELPER_H_ | 98 #endif // COMPONENTS_BROWSING_DATA_CONTENT_CONDITIONAL_CACHE_COUNTING_HELPER_H_ |
OLD | NEW |