Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: net/disk_cache/blockfile/in_flight_backend_io.h

Issue 2894863002: Rename TaskRunner::RunsTasksOnCurrentThread() in //net (Closed)
Patch Set: fixed build error Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/blockfile/backend_impl.cc ('k') | net/disk_cache/blockfile/in_flight_io.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/blockfile/in_flight_backend_io.h
diff --git a/net/disk_cache/blockfile/in_flight_backend_io.h b/net/disk_cache/blockfile/in_flight_backend_io.h
index 489d333e0e9ef3267be7fa55c563ac0d6e6f555d..8d8b8c44d5d37acabe2226b1ee6ae44b1c658aab 100644
--- a/net/disk_cache/blockfile/in_flight_backend_io.h
+++ b/net/disk_cache/blockfile/in_flight_backend_io.h
@@ -219,9 +219,9 @@ class InFlightBackendIO : public InFlightIO {
return background_thread_;
}
- // Returns true if the current thread is the background thread.
- bool BackgroundIsCurrentThread() {
- return background_thread_->RunsTasksOnCurrentThread();
+ // Returns true if the current sequence is the background thread.
+ bool BackgroundIsCurrentSequence() {
+ return background_thread_->RunsTasksInCurrentSequence();
}
base::WeakPtr<InFlightBackendIO> GetWeakPtr();
« no previous file with comments | « net/disk_cache/blockfile/backend_impl.cc ('k') | net/disk_cache/blockfile/in_flight_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698