| 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 // See net/disk_cache/disk_cache.h for the public interface of the cache. | 5 // See net/disk_cache/disk_cache.h for the public interface of the cache. |
| 6 | 6 |
| 7 #ifndef NET_DISK_CACHE_V3_BACKEND_IMPL_V3_H_ | 7 #ifndef NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_V3_H_ |
| 8 #define NET_DISK_CACHE_V3_BACKEND_IMPL_V3_H_ | 8 #define NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_V3_H_ |
| 9 | 9 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "net/disk_cache/block_files.h" | 13 #include "net/disk_cache/blockfile/block_bitmaps_v3.h" |
| 14 #include "net/disk_cache/blockfile/block_files.h" |
| 15 #include "net/disk_cache/blockfile/eviction_v3.h" |
| 16 #include "net/disk_cache/blockfile/index_table_v3.h" |
| 17 #include "net/disk_cache/blockfile/stats.h" |
| 18 #include "net/disk_cache/blockfile/stress_support.h" |
| 19 #include "net/disk_cache/blockfile/trace.h" |
| 14 #include "net/disk_cache/disk_cache.h" | 20 #include "net/disk_cache/disk_cache.h" |
| 15 #include "net/disk_cache/stats.h" | |
| 16 #include "net/disk_cache/stress_support.h" | |
| 17 #include "net/disk_cache/trace.h" | |
| 18 #include "net/disk_cache/v3/block_bitmaps.h" | |
| 19 #include "net/disk_cache/v3/eviction_v3.h" | |
| 20 #include "net/disk_cache/v3/index_table.h" | |
| 21 | 21 |
| 22 namespace net { | 22 namespace net { |
| 23 class NetLog; | 23 class NetLog; |
| 24 } // namespace net | 24 } // namespace net |
| 25 | 25 |
| 26 namespace disk_cache { | 26 namespace disk_cache { |
| 27 | 27 |
| 28 class EntryImplV3; | 28 class EntryImplV3; |
| 29 | 29 |
| 30 // This class implements the Backend interface. An object of this | 30 // This class implements the Backend interface. An object of this |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 Stats stats_; // Usage statistics. | 273 Stats stats_; // Usage statistics. |
| 274 scoped_ptr<base::RepeatingTimer<BackendImplV3> > timer_; // Usage timer. | 274 scoped_ptr<base::RepeatingTimer<BackendImplV3> > timer_; // Usage timer. |
| 275 scoped_refptr<TraceObject> trace_object_; // Initializes internal tracing. | 275 scoped_refptr<TraceObject> trace_object_; // Initializes internal tracing. |
| 276 base::WeakPtrFactory<BackendImplV3> ptr_factory_; | 276 base::WeakPtrFactory<BackendImplV3> ptr_factory_; |
| 277 | 277 |
| 278 DISALLOW_COPY_AND_ASSIGN(BackendImplV3); | 278 DISALLOW_COPY_AND_ASSIGN(BackendImplV3); |
| 279 }; | 279 }; |
| 280 | 280 |
| 281 } // namespace disk_cache | 281 } // namespace disk_cache |
| 282 | 282 |
| 283 #endif // NET_DISK_CACHE_V3_BACKEND_IMPL_V3_H_ | 283 #endif // NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_V3_H_ |
| OLD | NEW |