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