Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "mojo/edk/test/simple_test_thread.h" | |
| 6 | |
| 7 #include "base/logging.h" | |
| 8 | |
| 9 namespace mojo { | |
| 10 namespace test { | |
| 11 | |
| 12 SimpleTestThread::SimpleTestThread() : thread_(this, "SimpleTestThread") {} | |
| 13 | |
| 14 SimpleTestThread::~SimpleTestThread() {} | |
| 15 | |
| 16 void SimpleTestThread::Start() { | |
| 17 thread_.Start(); | |
| 18 } | |
| 19 | |
| 20 void SimpleTestThread::Join() { | |
| 21 thread_.Join(); | |
| 22 } | |
| 23 | |
| 24 } // namespace test | |
| 25 } // namespace mojo | |
| OLD | NEW |