| 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_V3_ENTRY_IMPL_V3_H_ | 5 #ifndef NET_DISK_CACHE_V3_ENTRY_IMPL_H_ |
| 6 #define NET_DISK_CACHE_V3_ENTRY_IMPL_V3_H_ | 6 #define NET_DISK_CACHE_V3_ENTRY_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 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 #include "net/disk_cache/storage_block.h" | 13 #include "net/disk_cache/v2/storage_block.h" |
| 14 #include "net/disk_cache/v3/disk_format_v3.h" | 14 #include "net/disk_cache/v3/disk_format_v3.h" |
| 15 | 15 |
| 16 namespace disk_cache { | 16 namespace disk_cache { |
| 17 | 17 |
| 18 class BackendImplV3; | 18 class BackendImplV3; |
| 19 class SparseControlV3; | 19 class SparseControlV3; |
| 20 | 20 |
| 21 // This class implements the Entry interface. An object of this | 21 // This class implements the Entry interface. An object of this |
| 22 // class represents a single entry on the cache. | 22 // class represents a single entry on the cache. |
| 23 class NET_EXPORT_PRIVATE EntryImplV3 | 23 class NET_EXPORT_PRIVATE EntryImplV3 |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 bool modified_; | 198 bool modified_; |
| 199 // scoped_ptr<SparseControlV3> sparse_; // Support for sparse entries. | 199 // scoped_ptr<SparseControlV3> sparse_; // Support for sparse entries. |
| 200 | 200 |
| 201 net::BoundNetLog net_log_; | 201 net::BoundNetLog net_log_; |
| 202 | 202 |
| 203 DISALLOW_COPY_AND_ASSIGN(EntryImplV3); | 203 DISALLOW_COPY_AND_ASSIGN(EntryImplV3); |
| 204 }; | 204 }; |
| 205 | 205 |
| 206 } // namespace disk_cache | 206 } // namespace disk_cache |
| 207 | 207 |
| 208 #endif // NET_DISK_CACHE_V3_ENTRY_IMPL_V3_H_ | 208 #endif // NET_DISK_CACHE_V3_ENTRY_IMPL_H_ |
| OLD | NEW |