| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_RANKINGS_H_ | 7 #ifndef NET_DISK_CACHE_RANKINGS_H_ |
| 8 #define NET_DISK_CACHE_RANKINGS_H_ | 8 #define NET_DISK_CACHE_RANKINGS_H_ |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| 11 | 11 |
| 12 #include "base/scoped_ptr.h" |
| 12 #include "net/disk_cache/addr.h" | 13 #include "net/disk_cache/addr.h" |
| 13 #include "net/disk_cache/mapped_file.h" | 14 #include "net/disk_cache/mapped_file.h" |
| 14 #include "net/disk_cache/storage_block.h" | 15 #include "net/disk_cache/storage_block.h" |
| 15 | 16 |
| 16 namespace disk_cache { | 17 namespace disk_cache { |
| 17 | 18 |
| 18 class BackendImpl; | 19 class BackendImpl; |
| 19 | 20 |
| 20 // Type of crashes generated for the unit tests. | 21 // Type of crashes generated for the unit tests. |
| 21 enum RankCrashes { | 22 enum RankCrashes { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 LruData* control_data_; // Data related to the LRU lists. | 162 LruData* control_data_; // Data related to the LRU lists. |
| 162 IteratorList iterators_; | 163 IteratorList iterators_; |
| 163 | 164 |
| 164 DISALLOW_COPY_AND_ASSIGN(Rankings); | 165 DISALLOW_COPY_AND_ASSIGN(Rankings); |
| 165 }; | 166 }; |
| 166 | 167 |
| 167 } // namespace disk_cache | 168 } // namespace disk_cache |
| 168 | 169 |
| 169 #endif // NET_DISK_CACHE_RANKINGS_H_ | 170 #endif // NET_DISK_CACHE_RANKINGS_H_ |
| 170 | 171 |
| OLD | NEW |