Lines Matching full:operation
17 // This class represents a single asynchronous IO operation while it is being
21 // Other than the actual parameters for the IO operation (including the
25 // operation.
42 // The actual parameters for the operation are setup in the constructor of
69 // These methods start an asynchronous operation. The arguments have the same
71 // operation never finishes synchronously.
78 // Invokes the users' completion callback at the end of the IO operation.
82 virtual void OnOperationComplete(disk_cache::BackgroundIO* operation,
113 scoped_refptr<FileBackgroundIO> operation(
118 NewRunnableMethod(operation.get(), &FileBackgroundIO::Read), true);
119 OnOperationPosted(operation);
125 scoped_refptr<FileBackgroundIO> operation(
130 NewRunnableMethod(operation.get(), &FileBackgroundIO::Write), true);
131 OnOperationPosted(operation);
135 void FileInFlightIO::OnOperationComplete(disk_cache::BackgroundIO* operation,
137 FileBackgroundIO* op = static_cast<FileBackgroundIO*>(operation);
140 int bytes = operation->result();