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

Unified Diff: tools/ipc_fuzzer/message_replay/replay_process.cc

Issue 1390513002: Remove base::MessageLoop::{Quit,QuitClosure} functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split into small CLs Created 5 years, 2 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 | « testing/gmock_mutant.h ('k') | win8/metro_driver/chrome_app_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/message_replay/replay_process.cc
diff --git a/tools/ipc_fuzzer/message_replay/replay_process.cc b/tools/ipc_fuzzer/message_replay/replay_process.cc
index 017b6a15c7fc16b71b9f118fc9568017317f0a5d..b59c43821c0e8f6b4547003be226e1396acf51c1 100644
--- a/tools/ipc_fuzzer/message_replay/replay_process.cc
+++ b/tools/ipc_fuzzer/message_replay/replay_process.cc
@@ -108,7 +108,7 @@ bool ReplayProcess::OpenTestcase() {
void ReplayProcess::SendNextMessage() {
if (message_index_ >= messages_.size()) {
- base::MessageLoop::current()->Quit();
+ base::MessageLoop::current()->QuitWhenIdle();
return;
}
@@ -119,7 +119,7 @@ void ReplayProcess::SendNextMessage() {
if (!channel_->Send(message)) {
LOG(ERROR) << "ChannelProxy::Send() failed after "
<< message_index_ << " messages";
- base::MessageLoop::current()->Quit();
+ base::MessageLoop::current()->QuitWhenIdle();
}
}
@@ -139,7 +139,7 @@ bool ReplayProcess::OnMessageReceived(const IPC::Message& msg) {
void ReplayProcess::OnChannelError() {
LOG(ERROR) << "Channel error, quitting after "
<< message_index_ << " messages";
- base::MessageLoop::current()->Quit();
+ base::MessageLoop::current()->QuitWhenIdle();
}
} // namespace ipc_fuzzer
« no previous file with comments | « testing/gmock_mutant.h ('k') | win8/metro_driver/chrome_app_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698