| 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/in_flight_backend_io.h" | 5 #include "net/disk_cache/blockfile/in_flight_backend_io.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 BackendIO* operation) { | 555 BackendIO* operation) { |
| 556 background_thread_->PostTask( | 556 background_thread_->PostTask( |
| 557 from_here, base::Bind(&BackendIO::ExecuteOperation, operation)); | 557 from_here, base::Bind(&BackendIO::ExecuteOperation, operation)); |
| 558 OnOperationPosted(operation); | 558 OnOperationPosted(operation); |
| 559 } | 559 } |
| 560 | 560 |
| 561 base::WeakPtr<InFlightBackendIO> InFlightBackendIO::GetWeakPtr() { | 561 base::WeakPtr<InFlightBackendIO> InFlightBackendIO::GetWeakPtr() { |
| 562 return ptr_factory_.GetWeakPtr(); | 562 return ptr_factory_.GetWeakPtr(); |
| 563 } | 563 } |
| 564 | 564 |
| 565 } // namespace | 565 } // namespace disk_cache |
| OLD | NEW |