OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 NET_DISK_CACHE_SIMPLE_SIMPLE_BACKEND_IMPL_H_ | 5 #ifndef NET_DISK_CACHE_SIMPLE_SIMPLE_BACKEND_IMPL_H_ |
6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_BACKEND_IMPL_H_ | 6 #define NET_DISK_CACHE_SIMPLE_SIMPLE_BACKEND_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <unordered_map> | 12 #include <unordered_map> |
13 #include <utility> | 13 #include <utility> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/callback_forward.h" | 16 #include "base/callback_forward.h" |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
20 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
21 #include "base/strings/string_split.h" | 21 #include "base/strings/string_split.h" |
22 #include "base/task_runner.h" | 22 #include "base/task_runner.h" |
23 #include "base/time/time.h" | 23 #include "base/time/time.h" |
24 #include "net/base/cache_type.h" | 24 #include "net/base/cache_type.h" |
| 25 #include "net/base/net_export.h" |
25 #include "net/disk_cache/disk_cache.h" | 26 #include "net/disk_cache/disk_cache.h" |
26 #include "net/disk_cache/simple/simple_entry_impl.h" | 27 #include "net/disk_cache/simple/simple_entry_impl.h" |
27 #include "net/disk_cache/simple/simple_index_delegate.h" | 28 #include "net/disk_cache/simple/simple_index_delegate.h" |
28 | 29 |
29 namespace base { | 30 namespace base { |
30 class SingleThreadTaskRunner; | 31 class SingleThreadTaskRunner; |
31 class TaskRunner; | 32 class TaskRunner; |
32 } | 33 } |
33 | 34 |
34 namespace disk_cache { | 35 namespace disk_cache { |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 // operations to be run at the completion of the Doom. | 213 // operations to be run at the completion of the Doom. |
213 std::unordered_map<uint64_t, std::vector<base::Closure>> | 214 std::unordered_map<uint64_t, std::vector<base::Closure>> |
214 entries_pending_doom_; | 215 entries_pending_doom_; |
215 | 216 |
216 net::NetLog* const net_log_; | 217 net::NetLog* const net_log_; |
217 }; | 218 }; |
218 | 219 |
219 } // namespace disk_cache | 220 } // namespace disk_cache |
220 | 221 |
221 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_BACKEND_IMPL_H_ | 222 #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_BACKEND_IMPL_H_ |
OLD | NEW |