| 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_ENTRY_IMPL_H_ | 5 #ifndef NET_DISK_CACHE_BLOCKFILE_ENTRY_IMPL_H_ |
| 6 #define NET_DISK_CACHE_ENTRY_IMPL_H_ | 6 #define NET_DISK_CACHE_BLOCKFILE_ENTRY_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "net/base/net_log.h" | 9 #include "net/base/net_log.h" |
| 10 #include "net/disk_cache/blockfile/disk_format.h" |
| 11 #include "net/disk_cache/blockfile/storage_block-inl.h" |
| 12 #include "net/disk_cache/blockfile/storage_block.h" |
| 10 #include "net/disk_cache/disk_cache.h" | 13 #include "net/disk_cache/disk_cache.h" |
| 11 #include "net/disk_cache/disk_format.h" | |
| 12 #include "net/disk_cache/storage_block.h" | |
| 13 #include "net/disk_cache/storage_block-inl.h" | |
| 14 | 14 |
| 15 namespace disk_cache { | 15 namespace disk_cache { |
| 16 | 16 |
| 17 class BackendImpl; | 17 class BackendImpl; |
| 18 class InFlightBackendIO; | 18 class InFlightBackendIO; |
| 19 class SparseControl; | 19 class SparseControl; |
| 20 typedef StorageBlock<EntryStore> CacheEntryBlock; | 20 typedef StorageBlock<EntryStore> CacheEntryBlock; |
| 21 typedef StorageBlock<RankingsNode> CacheRankingsBlock; | 21 typedef StorageBlock<RankingsNode> CacheRankingsBlock; |
| 22 | 22 |
| 23 // This class implements the Entry interface. An object of this | 23 // This class implements the Entry interface. An object of this |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 bool dirty_; // True if we detected that this is a dirty entry. | 268 bool dirty_; // True if we detected that this is a dirty entry. |
| 269 scoped_ptr<SparseControl> sparse_; // Support for sparse entries. | 269 scoped_ptr<SparseControl> sparse_; // Support for sparse entries. |
| 270 | 270 |
| 271 net::BoundNetLog net_log_; | 271 net::BoundNetLog net_log_; |
| 272 | 272 |
| 273 DISALLOW_COPY_AND_ASSIGN(EntryImpl); | 273 DISALLOW_COPY_AND_ASSIGN(EntryImpl); |
| 274 }; | 274 }; |
| 275 | 275 |
| 276 } // namespace disk_cache | 276 } // namespace disk_cache |
| 277 | 277 |
| 278 #endif // NET_DISK_CACHE_ENTRY_IMPL_H_ | 278 #endif // NET_DISK_CACHE_BLOCKFILE_ENTRY_IMPL_H_ |
| OLD | NEW |