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_BITMAPS_V3_H_ | 7 #ifndef NET_DISK_CACHE_BLOCKFILE_BLOCK_BITMAPS_V3_H_ |
8 #define NET_DISK_CACHE_BLOCKFILE_BLOCK_BITMAPS_V3_H_ | 8 #define NET_DISK_CACHE_BLOCKFILE_BLOCK_BITMAPS_V3_H_ |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" |
11 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
12 #include "net/disk_cache/blockfile/addr.h" | 13 #include "net/disk_cache/blockfile/addr.h" |
13 #include "net/disk_cache/blockfile/block_files.h" | 14 #include "net/disk_cache/blockfile/block_files.h" |
14 | 15 |
15 namespace disk_cache { | 16 namespace disk_cache { |
16 | 17 |
17 class BackendImplV3; | 18 class BackendImplV3; |
18 | 19 |
19 // This class is the interface in the v3 disk cache to the set of files holding | 20 // This class is the interface in the v3 disk cache to the set of files holding |
20 // cached data that is small enough to not be efficiently stored in a dedicated | 21 // cached data that is small enough to not be efficiently stored in a dedicated |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 void GetFileStats(int index, int* used_count, int* load); | 57 void GetFileStats(int index, int* used_count, int* load); |
57 | 58 |
58 BlockFilesBitmaps bitmaps_; | 59 BlockFilesBitmaps bitmaps_; |
59 | 60 |
60 DISALLOW_COPY_AND_ASSIGN(BlockBitmaps); | 61 DISALLOW_COPY_AND_ASSIGN(BlockBitmaps); |
61 }; | 62 }; |
62 | 63 |
63 } // namespace disk_cache | 64 } // namespace disk_cache |
64 | 65 |
65 #endif // NET_DISK_CACHE_BLOCKFILE_BLOCK_BITMAPS_V3_H_ | 66 #endif // NET_DISK_CACHE_BLOCKFILE_BLOCK_BITMAPS_V3_H_ |
OLD | NEW |