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_MEM_ENTRY_IMPL_H_ | 5 #ifndef NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ |
6 #define NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ | 6 #define NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ |
7 | 7 |
| 8 #include "base/containers/hash_tables.h" |
8 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
9 #include "base/hash_tables.h" | |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "net/base/net_log.h" | 11 #include "net/base/net_log.h" |
12 #include "net/disk_cache/disk_cache.h" | 12 #include "net/disk_cache/disk_cache.h" |
13 | 13 |
14 namespace disk_cache { | 14 namespace disk_cache { |
15 | 15 |
16 class MemBackendImpl; | 16 class MemBackendImpl; |
17 | 17 |
18 // This class implements the Entry interface for the memory-only cache. An | 18 // This class implements the Entry interface for the memory-only cache. An |
19 // object of this class represents a single entry on the cache. We use two | 19 // object of this class represents a single entry on the cache. We use two |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 bool doomed_; // True if this entry was removed from the cache. | 180 bool doomed_; // True if this entry was removed from the cache. |
181 | 181 |
182 net::BoundNetLog net_log_; | 182 net::BoundNetLog net_log_; |
183 | 183 |
184 DISALLOW_COPY_AND_ASSIGN(MemEntryImpl); | 184 DISALLOW_COPY_AND_ASSIGN(MemEntryImpl); |
185 }; | 185 }; |
186 | 186 |
187 } // namespace disk_cache | 187 } // namespace disk_cache |
188 | 188 |
189 #endif // NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ | 189 #endif // NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ |
OLD | NEW |