| 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 #include "net/disk_cache/v3/entry_impl_v3.h" | 5 #include "net/disk_cache/blockfile/entry_impl_v3.h" |
| 6 | 6 |
| 7 #include "base/hash.h" | 7 #include "base/hash.h" |
| 8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
| 10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 11 #include "net/base/io_buffer.h" | 11 #include "net/base/io_buffer.h" |
| 12 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
| 13 #include "net/disk_cache/bitmap.h" | 13 #include "net/disk_cache/blockfile/backend_impl_v3.h" |
| 14 #include "net/disk_cache/blockfile/bitmap.h" |
| 15 #include "net/disk_cache/blockfile/disk_format_v3.h" |
| 14 #include "net/disk_cache/cache_util.h" | 16 #include "net/disk_cache/cache_util.h" |
| 15 #include "net/disk_cache/net_log_parameters.h" | 17 #include "net/disk_cache/net_log_parameters.h" |
| 16 #include "net/disk_cache/v3/backend_impl_v3.h" | 18 // #include "net/disk_cache/blockfile/sparse_control_v3.h" |
| 17 #include "net/disk_cache/v3/disk_format_v3.h" | |
| 18 // #include "net/disk_cache/v3/sparse_control_v3.h" | |
| 19 | 19 |
| 20 #define CACHE_HISTOGRAM_MACROS_BACKEND_IMPL_OBJ backend_ | 20 #define CACHE_HISTOGRAM_MACROS_BACKEND_IMPL_OBJ backend_ |
| 21 #include "net/disk_cache/v3/histogram_macros.h" | 21 #include "net/disk_cache/blockfile/histogram_macros_v3.h" |
| 22 | 22 |
| 23 using base::Time; | 23 using base::Time; |
| 24 using base::TimeDelta; | 24 using base::TimeDelta; |
| 25 using base::TimeTicks; | 25 using base::TimeTicks; |
| 26 | 26 |
| 27 namespace { | 27 namespace { |
| 28 | 28 |
| 29 const int kMaxBufferSize = 1024 * 1024; // 1 MB. | 29 const int kMaxBufferSize = 1024 * 1024; // 1 MB. |
| 30 | 30 |
| 31 } // namespace | 31 } // namespace |
| (...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1454 | 1454 |
| 1455 int EntryImplV3::ReadyForSparseIO(const CompletionCallback& callback) { | 1455 int EntryImplV3::ReadyForSparseIO(const CompletionCallback& callback) { |
| 1456 return net::ERR_FAILED; | 1456 return net::ERR_FAILED; |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 EntryImplV3::~EntryImplV3() { | 1459 EntryImplV3::~EntryImplV3() { |
| 1460 NOTIMPLEMENTED(); | 1460 NOTIMPLEMENTED(); |
| 1461 } | 1461 } |
| 1462 | 1462 |
| 1463 } // namespace disk_cache | 1463 } // namespace disk_cache |
| OLD | NEW |