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_WORKER_V3_H_ | 7 #ifndef NET_DISK_CACHE_BLOCKFILE_BACKEND_WORKER_V3_H_ |
8 #define NET_DISK_CACHE_BLOCKFILE_BACKEND_WORKER_V3_H_ | 8 #define NET_DISK_CACHE_BLOCKFILE_BACKEND_WORKER_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/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "net/disk_cache/blockfile/addr.h" | 14 #include "net/disk_cache/blockfile/addr.h" |
14 #include "net/disk_cache/blockfile/backend_impl_v3.h" | 15 #include "net/disk_cache/blockfile/backend_impl_v3.h" |
15 #include "net/disk_cache/blockfile/block_files.h" | 16 #include "net/disk_cache/blockfile/block_files.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
19 } // namespace base | 20 } // namespace base |
20 | 21 |
21 namespace disk_cache { | 22 namespace disk_cache { |
(...skipping 25 matching lines...) Expand all Loading... |
47 base::FilePath path_; // Path to the folder used as backing storage. | 48 base::FilePath path_; // Path to the folder used as backing storage. |
48 BlockFiles block_files_; // Set of files used to store all data. | 49 BlockFiles block_files_; // Set of files used to store all data. |
49 bool init_; // controls the initialization of the system. | 50 bool init_; // controls the initialization of the system. |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(Worker); | 52 DISALLOW_COPY_AND_ASSIGN(Worker); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace disk_cache | 55 } // namespace disk_cache |
55 | 56 |
56 #endif // NET_DISK_CACHE_BLOCKFILE_BACKEND_WORKER_V3_H_ | 57 #endif // NET_DISK_CACHE_BLOCKFILE_BACKEND_WORKER_V3_H_ |
OLD | NEW |