Home
last modified time | relevance | path

Searched refs:BackgroundIO (Results 1 – 5 of 5) sorted by relevance

/external/chromium/net/disk_cache/
Din_flight_io.h20 class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> {
27 explicit BackgroundIO(InFlightIO* controller);
49 virtual ~BackgroundIO();
55 friend class base::RefCountedThreadSafe<BackgroundIO>;
64 DISALLOW_COPY_AND_ASSIGN(BackgroundIO);
99 void OnIOComplete(BackgroundIO* operation);
105 void InvokeCallback(BackgroundIO* operation, bool cancel_task);
111 virtual void OnOperationComplete(BackgroundIO* operation, bool cancel) = 0;
116 void OnOperationPosted(BackgroundIO* operation);
119 typedef std::set<scoped_refptr<BackgroundIO> > IOList;
Din_flight_io.cc11 BackgroundIO::BackgroundIO(InFlightIO* controller) in BackgroundIO() function in disk_cache::BackgroundIO
16 void BackgroundIO::OnIOSignalled() { in OnIOSignalled()
21 void BackgroundIO::Cancel() { in Cancel()
26 BackgroundIO::~BackgroundIO() {} in ~BackgroundIO()
29 void BackgroundIO::NotifyController() { in NotifyController()
52 void InFlightIO::OnIOComplete(BackgroundIO* operation) { in OnIOComplete()
63 &BackgroundIO::OnIOSignalled)); in OnIOComplete()
68 void InFlightIO::InvokeCallback(BackgroundIO* operation, bool cancel_task) { in InvokeCallback()
82 void InFlightIO::OnOperationPosted(BackgroundIO* operation) { in OnOperationPosted()
Dfile_posix.cc19 class FileBackgroundIO : public disk_cache::BackgroundIO {
29 : disk_cache::BackgroundIO(controller), callback_(callback), file_(file), in FileBackgroundIO()
82 virtual void OnOperationComplete(disk_cache::BackgroundIO* operation,
135 void FileInFlightIO::OnOperationComplete(disk_cache::BackgroundIO* operation, in OnOperationComplete()
Din_flight_backend_io.h26 class BackendIO : public BackgroundIO {
194 virtual void OnOperationComplete(BackgroundIO* operation, bool cancel);
Din_flight_backend_io.cc18 : BackgroundIO(controller), backend_(backend), callback_(callback), in BackendIO()
443 void InFlightBackendIO::OnOperationComplete(BackgroundIO* operation, in OnOperationComplete()