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 NET_DISK_CACHE_MEMORY_MEM_ENTRY_IMPL_H_ | 5 #ifndef NET_DISK_CACHE_MEMORY_MEM_ENTRY_IMPL_H_ |
6 #define NET_DISK_CACHE_MEMORY_MEM_ENTRY_IMPL_H_ | 6 #define NET_DISK_CACHE_MEMORY_MEM_ENTRY_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 <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/containers/linked_list.h" | 15 #include "base/containers/linked_list.h" |
16 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 19 #include "net/base/net_export.h" |
19 #include "net/disk_cache/disk_cache.h" | 20 #include "net/disk_cache/disk_cache.h" |
20 #include "net/log/net_log_with_source.h" | 21 #include "net/log/net_log_with_source.h" |
21 | 22 |
22 namespace net { | 23 namespace net { |
23 class NetLog; | 24 class NetLog; |
24 } | 25 } |
25 | 26 |
26 namespace disk_cache { | 27 namespace disk_cache { |
27 | 28 |
28 class MemBackendImpl; | 29 class MemBackendImpl; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 bool doomed_; // True if this entry was removed from the cache. | 185 bool doomed_; // True if this entry was removed from the cache. |
185 | 186 |
186 net::NetLogWithSource net_log_; | 187 net::NetLogWithSource net_log_; |
187 | 188 |
188 DISALLOW_COPY_AND_ASSIGN(MemEntryImpl); | 189 DISALLOW_COPY_AND_ASSIGN(MemEntryImpl); |
189 }; | 190 }; |
190 | 191 |
191 } // namespace disk_cache | 192 } // namespace disk_cache |
192 | 193 |
193 #endif // NET_DISK_CACHE_MEMORY_MEM_ENTRY_IMPL_H_ | 194 #endif // NET_DISK_CACHE_MEMORY_MEM_ENTRY_IMPL_H_ |
OLD | NEW |