| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Defines the public interface of the disk cache. For more details see | 5 // Defines the public interface of the disk cache. For more details see |
| 6 // http://dev.chromium.org/developers/design-documents/disk-cache | 6 // http://dev.chromium.org/developers/design-documents/network-stack/disk-cache |
| 7 | 7 |
| 8 #ifndef NET_DISK_CACHE_DISK_CACHE_H_ | 8 #ifndef NET_DISK_CACHE_DISK_CACHE_H_ |
| 9 #define NET_DISK_CACHE_DISK_CACHE_H_ | 9 #define NET_DISK_CACHE_DISK_CACHE_H_ |
| 10 #pragma once | 10 #pragma once |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "base/time.h" | 16 #include "base/time.h" |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 // Note: This method is deprecated. | 291 // Note: This method is deprecated. |
| 292 virtual int ReadyForSparseIO(CompletionCallback* completion_callback) = 0; | 292 virtual int ReadyForSparseIO(CompletionCallback* completion_callback) = 0; |
| 293 | 293 |
| 294 protected: | 294 protected: |
| 295 virtual ~Entry() {} | 295 virtual ~Entry() {} |
| 296 }; | 296 }; |
| 297 | 297 |
| 298 } // namespace disk_cache | 298 } // namespace disk_cache |
| 299 | 299 |
| 300 #endif // NET_DISK_CACHE_DISK_CACHE_H_ | 300 #endif // NET_DISK_CACHE_DISK_CACHE_H_ |
| OLD | NEW |