| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "net/disk_cache/simple/simple_entry_operation.h" | 5 #include "net/disk_cache/simple/simple_entry_operation.h" |
| 6 | 6 |
| 7 #include <limits.h> |
| 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 #include "net/base/io_buffer.h" | 10 #include "net/base/io_buffer.h" |
| 9 #include "net/disk_cache/disk_cache.h" | 11 #include "net/disk_cache/disk_cache.h" |
| 10 #include "net/disk_cache/simple/simple_entry_impl.h" | 12 #include "net/disk_cache/simple/simple_entry_impl.h" |
| 11 | 13 |
| 12 namespace disk_cache { | 14 namespace disk_cache { |
| 13 | 15 |
| 14 namespace { | 16 namespace { |
| 15 | 17 |
| 16 bool IsReadWriteType(unsigned int type) { | 18 bool IsReadWriteType(unsigned int type) { |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 length_(length), | 332 length_(length), |
| 331 out_start_(out_start), | 333 out_start_(out_start), |
| 332 type_(type), | 334 type_(type), |
| 333 have_index_(have_index), | 335 have_index_(have_index), |
| 334 index_(index), | 336 index_(index), |
| 335 truncate_(truncate), | 337 truncate_(truncate), |
| 336 optimistic_(optimistic), | 338 optimistic_(optimistic), |
| 337 alone_in_queue_(alone_in_queue) {} | 339 alone_in_queue_(alone_in_queue) {} |
| 338 | 340 |
| 339 } // namespace disk_cache | 341 } // namespace disk_cache |
| OLD | NEW |