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. | 5 // See net/disk_cache/disk_cache.h for the public interface. |
6 | 6 |
7 #ifndef NET_DISK_CACHE_BLOCKFILE_BLOCK_FILES_H_ | 7 #ifndef NET_DISK_CACHE_BLOCKFILE_BLOCK_FILES_H_ |
8 #define NET_DISK_CACHE_BLOCKFILE_BLOCK_FILES_H_ | 8 #define NET_DISK_CACHE_BLOCKFILE_BLOCK_FILES_H_ |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 | 11 |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/macros.h" |
16 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
17 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
18 #include "net/disk_cache/blockfile/addr.h" | 19 #include "net/disk_cache/blockfile/addr.h" |
19 #include "net/disk_cache/blockfile/disk_format_base.h" | 20 #include "net/disk_cache/blockfile/disk_format_base.h" |
20 #include "net/disk_cache/blockfile/mapped_file.h" | 21 #include "net/disk_cache/blockfile/mapped_file.h" |
21 | 22 |
22 namespace base { | 23 namespace base { |
23 class ThreadChecker; | 24 class ThreadChecker; |
24 } | 25 } |
25 | 26 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 FRIEND_TEST_ALL_PREFIXES(DiskCacheTest, BlockFiles_TruncatedFile); | 163 FRIEND_TEST_ALL_PREFIXES(DiskCacheTest, BlockFiles_TruncatedFile); |
163 FRIEND_TEST_ALL_PREFIXES(DiskCacheTest, BlockFiles_InvalidFile); | 164 FRIEND_TEST_ALL_PREFIXES(DiskCacheTest, BlockFiles_InvalidFile); |
164 FRIEND_TEST_ALL_PREFIXES(DiskCacheTest, BlockFiles_Stats); | 165 FRIEND_TEST_ALL_PREFIXES(DiskCacheTest, BlockFiles_Stats); |
165 | 166 |
166 DISALLOW_COPY_AND_ASSIGN(BlockFiles); | 167 DISALLOW_COPY_AND_ASSIGN(BlockFiles); |
167 }; | 168 }; |
168 | 169 |
169 } // namespace disk_cache | 170 } // namespace disk_cache |
170 | 171 |
171 #endif // NET_DISK_CACHE_BLOCKFILE_BLOCK_FILES_H_ | 172 #endif // NET_DISK_CACHE_BLOCKFILE_BLOCK_FILES_H_ |
OLD | NEW |