| 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_RANKINGS_H_ | 7 #ifndef NET_DISK_CACHE_BLOCKFILE_RANKINGS_H_ |
| 8 #define NET_DISK_CACHE_BLOCKFILE_RANKINGS_H_ | 8 #define NET_DISK_CACHE_BLOCKFILE_RANKINGS_H_ |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| 11 | 11 |
| 12 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "net/disk_cache/blockfile/addr.h" | 14 #include "net/disk_cache/blockfile/addr.h" |
| 14 #include "net/disk_cache/blockfile/mapped_file.h" | 15 #include "net/disk_cache/blockfile/mapped_file.h" |
| 15 #include "net/disk_cache/blockfile/storage_block.h" | 16 #include "net/disk_cache/blockfile/storage_block.h" |
| 16 | 17 |
| 17 namespace disk_cache { | 18 namespace disk_cache { |
| 18 | 19 |
| 19 class BackendImpl; | 20 class BackendImpl; |
| 20 struct LruData; | 21 struct LruData; |
| 21 struct RankingsNode; | 22 struct RankingsNode; |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 BackendImpl* backend_; | 206 BackendImpl* backend_; |
| 206 LruData* control_data_; // Data related to the LRU lists. | 207 LruData* control_data_; // Data related to the LRU lists. |
| 207 IteratorList iterators_; | 208 IteratorList iterators_; |
| 208 | 209 |
| 209 DISALLOW_COPY_AND_ASSIGN(Rankings); | 210 DISALLOW_COPY_AND_ASSIGN(Rankings); |
| 210 }; | 211 }; |
| 211 | 212 |
| 212 } // namespace disk_cache | 213 } // namespace disk_cache |
| 213 | 214 |
| 214 #endif // NET_DISK_CACHE_BLOCKFILE_RANKINGS_H_ | 215 #endif // NET_DISK_CACHE_BLOCKFILE_RANKINGS_H_ |
| OLD | NEW |