| 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 #ifndef NET_DISK_CACHE_SPARSE_CONTROL_H_ | 5 #ifndef NET_DISK_CACHE_BLOCKFILE_SPARSE_CONTROL_H_ |
| 6 #define NET_DISK_CACHE_SPARSE_CONTROL_H_ | 6 #define NET_DISK_CACHE_BLOCKFILE_SPARSE_CONTROL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
| 14 #include "net/disk_cache/bitmap.h" | 14 #include "net/disk_cache/blockfile/bitmap.h" |
| 15 #include "net/disk_cache/disk_format.h" | 15 #include "net/disk_cache/blockfile/disk_format.h" |
| 16 | 16 |
| 17 namespace net { | 17 namespace net { |
| 18 class IOBuffer; | 18 class IOBuffer; |
| 19 class DrainableIOBuffer; | 19 class DrainableIOBuffer; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace disk_cache { | 22 namespace disk_cache { |
| 23 | 23 |
| 24 class Entry; | 24 class Entry; |
| 25 class EntryImpl; | 25 class EntryImpl; |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 int buf_len_; // Bytes to read or write. | 167 int buf_len_; // Bytes to read or write. |
| 168 int child_offset_; // Offset to use for the current child. | 168 int child_offset_; // Offset to use for the current child. |
| 169 int child_len_; // Bytes to read or write for this child. | 169 int child_len_; // Bytes to read or write for this child. |
| 170 int result_; | 170 int result_; |
| 171 | 171 |
| 172 DISALLOW_COPY_AND_ASSIGN(SparseControl); | 172 DISALLOW_COPY_AND_ASSIGN(SparseControl); |
| 173 }; | 173 }; |
| 174 | 174 |
| 175 } // namespace disk_cache | 175 } // namespace disk_cache |
| 176 | 176 |
| 177 #endif // NET_DISK_CACHE_SPARSE_CONTROL_H_ | 177 #endif // NET_DISK_CACHE_BLOCKFILE_SPARSE_CONTROL_H_ |
| OLD | NEW |