| 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/blockfile/entry_impl.h" | 5 #include "net/disk_cache/blockfile/entry_impl.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "base/hash.h" | 9 #include "base/hash.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 11 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 12 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
| 13 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 14 #include "net/disk_cache/blockfile/backend_impl.h" | 15 #include "net/disk_cache/blockfile/backend_impl.h" |
| 15 #include "net/disk_cache/blockfile/bitmap.h" | 16 #include "net/disk_cache/blockfile/bitmap.h" |
| 16 #include "net/disk_cache/blockfile/disk_format.h" | 17 #include "net/disk_cache/blockfile/disk_format.h" |
| 17 #include "net/disk_cache/blockfile/histogram_macros.h" | 18 #include "net/disk_cache/blockfile/histogram_macros.h" |
| 18 #include "net/disk_cache/blockfile/sparse_control.h" | 19 #include "net/disk_cache/blockfile/sparse_control.h" |
| 19 #include "net/disk_cache/cache_util.h" | 20 #include "net/disk_cache/cache_util.h" |
| (...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1557 Trace("%s 0x%p 0x%x 0x%x", msg, reinterpret_cast<void*>(this), | 1558 Trace("%s 0x%p 0x%x 0x%x", msg, reinterpret_cast<void*>(this), |
| 1558 entry_.address().value(), node_.address().value()); | 1559 entry_.address().value(), node_.address().value()); |
| 1559 | 1560 |
| 1560 Trace(" data: 0x%x 0x%x 0x%x", entry_.Data()->data_addr[0], | 1561 Trace(" data: 0x%x 0x%x 0x%x", entry_.Data()->data_addr[0], |
| 1561 entry_.Data()->data_addr[1], entry_.Data()->long_key); | 1562 entry_.Data()->data_addr[1], entry_.Data()->long_key); |
| 1562 | 1563 |
| 1563 Trace(" doomed: %d 0x%x", doomed_, dirty); | 1564 Trace(" doomed: %d 0x%x", doomed_, dirty); |
| 1564 } | 1565 } |
| 1565 | 1566 |
| 1566 } // namespace disk_cache | 1567 } // namespace disk_cache |
| OLD | NEW |