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

Side by Side Diff: mojo/edk/test/simple_test_thread.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, 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 unified diff | Download patch
OLDNEW
(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
OLDNEW
« mojo/edk/test/simple_test_thread.h ('K') | « mojo/edk/test/simple_test_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698