| 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 "base/location.h" | 5 #include "base/location.h" |
| 6 #include "base/message_loop_proxy.h" | 6 #include "base/message_loop/message_loop_proxy.h" |
| 7 #include "base/task_runner_util.h" | 7 #include "base/task_runner_util.h" |
| 8 #include "net/base/io_buffer.h" | 8 #include "net/base/io_buffer.h" |
| 9 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
| 10 #include "net/disk_cache/flash/flash_entry_impl.h" | 10 #include "net/disk_cache/flash/flash_entry_impl.h" |
| 11 #include "net/disk_cache/flash/internal_entry.h" | 11 #include "net/disk_cache/flash/internal_entry.h" |
| 12 | 12 |
| 13 namespace disk_cache { | 13 namespace disk_cache { |
| 14 | 14 |
| 15 FlashEntryImpl::FlashEntryImpl(const std::string& key, | 15 FlashEntryImpl::FlashEntryImpl(const std::string& key, |
| 16 LogStore* store, | 16 LogStore* store, |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 callback_.Run(net::OK); | 141 callback_.Run(net::OK); |
| 142 } | 142 } |
| 143 } | 143 } |
| 144 | 144 |
| 145 FlashEntryImpl::~FlashEntryImpl() { | 145 FlashEntryImpl::~FlashEntryImpl() { |
| 146 cache_thread_->PostTask(FROM_HERE, | 146 cache_thread_->PostTask(FROM_HERE, |
| 147 Bind(&InternalEntry::Close, new_internal_entry_)); | 147 Bind(&InternalEntry::Close, new_internal_entry_)); |
| 148 } | 148 } |
| 149 | 149 |
| 150 } // namespace disk_cache | 150 } // namespace disk_cache |
| OLD | NEW |