Home
last modified time | relevance | path

Searched refs:background_queue_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/net/disk_cache/blockfile/
Dbackend_impl.cc117 : background_queue_(this, cache_thread), in BackendImpl()
144 : background_queue_(this, cache_thread), in BackendImpl()
170 background_queue_.WaitForPendingIO(); in ~BackendImpl()
174 background_queue_.DropPendingIO(); in ~BackendImpl()
177 if (background_queue_.BackgroundIsCurrentThread()) { in ~BackendImpl()
181 background_queue_.background_thread()->PostTask( in ~BackendImpl()
190 background_queue_.Init(callback); in Init()
715 return background_queue_.GetWeakPtr(); in GetBackgroundQueue()
1134 background_queue_.FlushQueue(callback); in FlushQueueForTest()
1140 background_queue_.RunTask(task, callback); in RunTaskForTest()
[all …]
Dentry_impl_v3.cc458 if (background_queue_) in Doom()
459 background_queue_->DoomEntryImpl(this); in Doom()
471 if (background_queue_) in Close()
472 background_queue_->CloseEntryImpl(this); in Close()
541 if (!background_queue_) in ReadData()
544 background_queue_->ReadData(this, index, offset, buf, buf_len, callback); in ReadData()
578 if (!background_queue_) in WriteData()
581 background_queue_->WriteData(this, index, offset, buf, buf_len, truncate, in WriteData()
611 if (!background_queue_) in ReadSparseData()
614 background_queue_->ReadSparseData(this, offset, buf, buf_len, callback); in ReadSparseData()
[all …]
Dentry_impl.cc685 background_queue_ = backend->GetBackgroundQueue(); in OnEntryCreated()
753 if (background_queue_.get()) in Doom()
754 background_queue_->DoomEntryImpl(this); in Doom()
758 if (background_queue_.get()) in Close()
759 background_queue_->CloseEntryImpl(this); in Close()
828 if (!background_queue_.get()) in ReadData()
831 background_queue_->ReadData(this, index, offset, buf, buf_len, callback); in ReadData()
847 if (!background_queue_.get()) in WriteData()
850 background_queue_->WriteData(this, index, offset, buf, buf_len, truncate, in WriteData()
860 if (!background_queue_.get()) in ReadSparseData()
[all …]
Dbackend_worker_v3.cc232 background_queue_.WaitForPendingIO(); in ~BackendImpl()
236 background_queue_.DropPendingIO(); in ~BackendImpl()
239 if (background_queue_.BackgroundIsCurrentThread()) { in ~BackendImpl()
243 background_queue_.background_thread()->PostTask( in ~BackendImpl()
Dbackend_impl_v3.cc375 background_queue_.FlushQueue(callback); in FlushQueueForTest()
666 : background_queue_(background_queue), data_(NULL) { in IteratorImpl()
671 if (!background_queue_) in OpenNextEntry()
673 background_queue_->OpenNextEntry(&data_, next_entry, callback); in OpenNextEntry()
678 const base::WeakPtr<InFlightBackendIO> background_queue_; member in disk_cache::BackendImplV3::IteratorImpl
Dentry_impl.h260 base::WeakPtr<InFlightBackendIO> background_queue_; // In-progress queue. variable
Dbackend_impl.h364 InFlightBackendIO background_queue_; // The controller of pending operations. variable
/external/chromium_org/chrome/browser/net/
Dpredictor.h347 std::queue<GURL> background_queue_; variable
Dpredictor.cc1214 background_queue_.push(url); in Push()
1220 return rush_queue_.empty() && background_queue_.empty(); in IsEmpty()
1225 std::queue<GURL> *queue(rush_queue_.empty() ? &background_queue_ in Pop()