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

Unified Diff: tools/android/forwarder2/device_controller.cc

Issue 2881383003: Rename TaskRunner::RunsTasksOnCurrentThread() in //android_webview, //tools (Closed)
Patch Set: add //tools/android 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 | « android_webview/browser/net/aw_cookie_store_wrapper.cc ('k') | tools/android/forwarder2/device_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/forwarder2/device_controller.cc
diff --git a/tools/android/forwarder2/device_controller.cc b/tools/android/forwarder2/device_controller.cc
index 7236baf97d0e1c355017f80cfb717bf27f911207..5c018d9cbebafb18f4494f50040414a153fc192f 100644
--- a/tools/android/forwarder2/device_controller.cc
+++ b/tools/android/forwarder2/device_controller.cc
@@ -37,7 +37,7 @@ std::unique_ptr<DeviceController> DeviceController::Create(
}
DeviceController::~DeviceController() {
- DCHECK(construction_task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(construction_task_runner_->RunsTasksInCurrentSequence());
}
void DeviceController::Start() {
@@ -145,7 +145,7 @@ void DeviceController::DeleteListenerOnError(
// ownership.
return;
}
- DCHECK(controller->construction_task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(controller->construction_task_runner_->RunsTasksInCurrentSequence());
bool listener_did_exist = DeleteRefCountedValueInMap(
listener->listener_port(), &controller->listeners_);
DCHECK(listener_did_exist);
« no previous file with comments | « android_webview/browser/net/aw_cookie_store_wrapper.cc ('k') | tools/android/forwarder2/device_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698