| 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_MEMORY_MEM_ENTRY_IMPL_H_ |
| 6 #define NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ | 6 #define NET_DISK_CACHE_MEMORY_MEM_ENTRY_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.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; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 MemBackendImpl* backend_; // Back pointer to the cache. | 175 MemBackendImpl* backend_; // Back pointer to the cache. |
| 176 bool doomed_; // True if this entry was removed from the cache. | 176 bool doomed_; // True if this entry was removed from the cache. |
| 177 | 177 |
| 178 net::BoundNetLog net_log_; | 178 net::BoundNetLog net_log_; |
| 179 | 179 |
| 180 DISALLOW_COPY_AND_ASSIGN(MemEntryImpl); | 180 DISALLOW_COPY_AND_ASSIGN(MemEntryImpl); |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 } // namespace disk_cache | 183 } // namespace disk_cache |
| 184 | 184 |
| 185 #endif // NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ | 185 #endif // NET_DISK_CACHE_MEMORY_MEM_ENTRY_IMPL_H_ |
| OLD | NEW |