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

Unified Diff: remoting/host/setup/me2me_native_messaging_host_unittest.cc

Issue 2962443002: Rename TaskRunner::RunsTasksOnCurrentThread() in //remoting, //android_webview (Closed)
Patch Set: Created 3 years, 6 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 | « remoting/host/security_key/security_key_message_reader_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/me2me_native_messaging_host_unittest.cc
diff --git a/remoting/host/setup/me2me_native_messaging_host_unittest.cc b/remoting/host/setup/me2me_native_messaging_host_unittest.cc
index c03f2a75edd279bc5f65d276ebf5a642f460e8dc..2f837578341ac27333b6e3fbdfa4949605472a28 100644
--- a/remoting/host/setup/me2me_native_messaging_host_unittest.cc
+++ b/remoting/host/setup/me2me_native_messaging_host_unittest.cc
@@ -322,7 +322,7 @@ void Me2MeNativeMessagingHostTest::SetUp() {
}
void Me2MeNativeMessagingHostTest::StartHost() {
- DCHECK(host_task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(host_task_runner_->RunsTasksInCurrentSequence());
base::File input_read_file;
base::File output_write_file;
@@ -366,7 +366,7 @@ void Me2MeNativeMessagingHostTest::StartHost() {
}
void Me2MeNativeMessagingHostTest::StopHost() {
- DCHECK(host_task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(host_task_runner_->RunsTasksInCurrentSequence());
native_messaging_pipe_.reset();
@@ -378,7 +378,7 @@ void Me2MeNativeMessagingHostTest::StopHost() {
}
void Me2MeNativeMessagingHostTest::ExitTest() {
- if (!test_message_loop_->task_runner()->RunsTasksOnCurrentThread()) {
+ if (!test_message_loop_->task_runner()->RunsTasksInCurrentSequence()) {
test_message_loop_->task_runner()->PostTask(
FROM_HERE,
base::Bind(&Me2MeNativeMessagingHostTest::ExitTest,
« no previous file with comments | « remoting/host/security_key/security_key_message_reader_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698