| 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_BLOCKFILE_BACKEND_IMPL_V3_H_ | 7 #ifndef NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_V3_H_ |
| 8 #define NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_V3_H_ | 8 #define NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_V3_H_ |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 | 11 |
| 12 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 15 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
| 16 #include "net/disk_cache/blockfile/block_bitmaps_v3.h" | 17 #include "net/disk_cache/blockfile/block_bitmaps_v3.h" |
| 17 #include "net/disk_cache/blockfile/block_files.h" | 18 #include "net/disk_cache/blockfile/block_files.h" |
| 18 #include "net/disk_cache/blockfile/eviction_v3.h" | 19 #include "net/disk_cache/blockfile/eviction_v3.h" |
| 19 #include "net/disk_cache/blockfile/index_table_v3.h" | 20 #include "net/disk_cache/blockfile/index_table_v3.h" |
| 20 #include "net/disk_cache/blockfile/stats.h" | 21 #include "net/disk_cache/blockfile/stats.h" |
| 21 #include "net/disk_cache/blockfile/stress_support.h" | 22 #include "net/disk_cache/blockfile/stress_support.h" |
| 22 #include "net/disk_cache/blockfile/trace.h" | 23 #include "net/disk_cache/blockfile/trace.h" |
| 23 #include "net/disk_cache/disk_cache.h" | 24 #include "net/disk_cache/disk_cache.h" |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 scoped_ptr<base::RepeatingTimer> timer_; // Usage timer. | 278 scoped_ptr<base::RepeatingTimer> timer_; // Usage timer. |
| 278 scoped_refptr<TraceObject> trace_object_; // Initializes internal tracing. | 279 scoped_refptr<TraceObject> trace_object_; // Initializes internal tracing. |
| 279 base::WeakPtrFactory<BackendImplV3> ptr_factory_; | 280 base::WeakPtrFactory<BackendImplV3> ptr_factory_; |
| 280 | 281 |
| 281 DISALLOW_COPY_AND_ASSIGN(BackendImplV3); | 282 DISALLOW_COPY_AND_ASSIGN(BackendImplV3); |
| 282 }; | 283 }; |
| 283 | 284 |
| 284 } // namespace disk_cache | 285 } // namespace disk_cache |
| 285 | 286 |
| 286 #endif // NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_V3_H_ | 287 #endif // NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_V3_H_ |
| OLD | NEW |