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_H_ | 7 #ifndef NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_H_ |
8 #define NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_H_ | 8 #define NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_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_files.h" | 17 #include "net/disk_cache/blockfile/block_files.h" |
17 #include "net/disk_cache/blockfile/eviction.h" | 18 #include "net/disk_cache/blockfile/eviction.h" |
18 #include "net/disk_cache/blockfile/in_flight_backend_io.h" | 19 #include "net/disk_cache/blockfile/in_flight_backend_io.h" |
19 #include "net/disk_cache/blockfile/rankings.h" | 20 #include "net/disk_cache/blockfile/rankings.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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 base::WaitableEvent done_; // Signals the end of background work. | 407 base::WaitableEvent done_; // Signals the end of background work. |
407 scoped_refptr<TraceObject> trace_object_; // Initializes internal tracing. | 408 scoped_refptr<TraceObject> trace_object_; // Initializes internal tracing. |
408 base::WeakPtrFactory<BackendImpl> ptr_factory_; | 409 base::WeakPtrFactory<BackendImpl> ptr_factory_; |
409 | 410 |
410 DISALLOW_COPY_AND_ASSIGN(BackendImpl); | 411 DISALLOW_COPY_AND_ASSIGN(BackendImpl); |
411 }; | 412 }; |
412 | 413 |
413 } // namespace disk_cache | 414 } // namespace disk_cache |
414 | 415 |
415 #endif // NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_H_ | 416 #endif // NET_DISK_CACHE_BLOCKFILE_BACKEND_IMPL_H_ |
OLD | NEW |