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