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

Unified Diff: mojo/edk/system/waiter_test_utils.cc

Issue 1361143004: EDK: Add a mojo::test::SimpleTestThread (and use it). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
Index: mojo/edk/system/waiter_test_utils.cc
diff --git a/mojo/edk/system/waiter_test_utils.cc b/mojo/edk/system/waiter_test_utils.cc
index b2cdd882bc801a2a768933c0d36d7faccc14c3b0..e26142010d512ad807209aa4ebe67cba2ad304c1 100644
--- a/mojo/edk/system/waiter_test_utils.cc
+++ b/mojo/edk/system/waiter_test_utils.cc
@@ -9,7 +9,7 @@ namespace system {
namespace test {
SimpleWaiterThread::SimpleWaiterThread(MojoResult* result, uint32_t* context)
- : base::SimpleThread("waiter_thread"), result_(result), context_(context) {
+ : result_(result), context_(context) {
waiter_.Init();
*result_ = 5420734; // Totally invalid result.
*context_ = 23489023; // "Random".
@@ -31,8 +31,7 @@ WaiterThread::WaiterThread(scoped_refptr<Dispatcher> dispatcher,
MojoResult* result_out,
uint32_t* context_out,
HandleSignalsState* signals_state_out)
- : base::SimpleThread("waiter_thread"),
- dispatcher_(dispatcher),
+ : dispatcher_(dispatcher),
handle_signals_(handle_signals),
deadline_(deadline),
context_(context),

Powered by Google App Engine
This is Rietveld 408576698