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

Unified Diff: mojo/system/waiter_test_utils.cc

Issue 345463003: Mojo: MojoWaitFlags -> MojoHandleSignals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « mojo/system/waiter_test_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/waiter_test_utils.cc
diff --git a/mojo/system/waiter_test_utils.cc b/mojo/system/waiter_test_utils.cc
index 23c8e3e3c28647527fd3ec8e9bc9b952bab6aa00..f762e985f90ebbaa20cac080cfb1975fb308cf7d 100644
--- a/mojo/system/waiter_test_utils.cc
+++ b/mojo/system/waiter_test_utils.cc
@@ -26,7 +26,7 @@ void SimpleWaiterThread::Run() {
}
WaiterThread::WaiterThread(scoped_refptr<Dispatcher> dispatcher,
- MojoWaitFlags wait_flags,
+ MojoHandleSignals handle_signals,
MojoDeadline deadline,
uint32_t context,
bool* did_wait_out,
@@ -34,7 +34,7 @@ WaiterThread::WaiterThread(scoped_refptr<Dispatcher> dispatcher,
uint32_t* context_out)
: base::SimpleThread("waiter_thread"),
dispatcher_(dispatcher),
- wait_flags_(wait_flags),
+ handle_signals_(handle_signals),
deadline_(deadline),
context_(context),
did_wait_out_(did_wait_out),
@@ -52,7 +52,7 @@ WaiterThread::~WaiterThread() {
void WaiterThread::Run() {
waiter_.Init();
- *result_out_ = dispatcher_->AddWaiter(&waiter_, wait_flags_, context_);
+ *result_out_ = dispatcher_->AddWaiter(&waiter_, handle_signals_, context_);
if (*result_out_ != MOJO_RESULT_OK)
return;
« no previous file with comments | « mojo/system/waiter_test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698