Home | History | Annotate | Download | only in disk_cache

Lines Matching full:operation

52 void InFlightIO::OnIOComplete(BackgroundIO* operation) {
62 NewRunnableMethod(operation,
64 operation->io_completed()->Signal();
68 void InFlightIO::InvokeCallback(BackgroundIO* operation, bool cancel_task) {
69 operation->io_completed()->Wait();
72 operation->Cancel();
74 // Make sure that we remove the operation from the list before invoking the
76 DCHECK(io_list_.find(operation) != io_list_.end());
77 io_list_.erase(make_scoped_refptr(operation));
78 OnOperationComplete(operation, cancel_task);
82 void InFlightIO::OnOperationPosted(BackgroundIO* operation) {
84 io_list_.insert(make_scoped_refptr(operation));