Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
|
rvargas (doing something else)
2012/07/27 18:04:41
You should change this to 2008* instead, given tha
| |
| 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 of the cache. | 5 // See net/disk_cache/disk_cache.h for the public interface of the cache. |
| 6 | 6 |
| 7 #ifndef NET_DISK_CACHE_FILE_BLOCK_H__ | 7 #ifndef NET_DISK_CACHE_FILE_BLOCK_H__ |
| 8 #define NET_DISK_CACHE_FILE_BLOCK_H__ | 8 #define NET_DISK_CACHE_FILE_BLOCK_H__ |
| 9 | 9 |
| 10 namespace disk_cache { | 10 namespace disk_cache { |
| 11 | 11 |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 22 // Returns the size of the block; | 22 // Returns the size of the block; |
| 23 virtual size_t size() const = 0; | 23 virtual size_t size() const = 0; |
| 24 | 24 |
| 25 // Returns the file offset of this block. | 25 // Returns the file offset of this block. |
| 26 virtual int offset() const = 0; | 26 virtual int offset() const = 0; |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace disk_cache | 29 } // namespace disk_cache |
| 30 | 30 |
| 31 #endif // NET_DISK_CACHE_FILE_BLOCK_H__ | 31 #endif // NET_DISK_CACHE_FILE_BLOCK_H__ |
| OLD | NEW |