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

Side by Side Diff: mojo/system/waiter_test_utils.h

Issue 213393002: Mojo: Move public C system header files to mojo/public/c/system/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « mojo/system/waiter_list.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SYSTEM_WAITER_TEST_UTILS_H_ 5 #ifndef MOJO_SYSTEM_WAITER_TEST_UTILS_H_
6 #define MOJO_SYSTEM_WAITER_TEST_UTILS_H_ 6 #define MOJO_SYSTEM_WAITER_TEST_UTILS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/threading/simple_thread.h" 11 #include "base/threading/simple_thread.h"
12 #include "mojo/public/system/core.h" 12 #include "mojo/public/c/system/core.h"
13 #include "mojo/system/dispatcher.h" 13 #include "mojo/system/dispatcher.h"
14 #include "mojo/system/waiter.h" 14 #include "mojo/system/waiter.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace system { 17 namespace system {
18 namespace test { 18 namespace test {
19 19
20 // This is a very simple thread that has a |Waiter|, on which it waits 20 // This is a very simple thread that has a |Waiter|, on which it waits
21 // indefinitely (and records the result). It will create and initialize the 21 // indefinitely (and records the result). It will create and initialize the
22 // |Waiter| on creation, but the caller must start the thread with |Start()|. It 22 // |Waiter| on creation, but the caller must start the thread with |Start()|. It
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 Waiter waiter_; 86 Waiter waiter_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(WaiterThread); 88 DISALLOW_COPY_AND_ASSIGN(WaiterThread);
89 }; 89 };
90 90
91 } // namespace test 91 } // namespace test
92 } // namespace system 92 } // namespace system
93 } // namespace mojo 93 } // namespace mojo
94 94
95 #endif // MOJO_SYSTEM_WAITER_TEST_UTILS_H_ 95 #endif // MOJO_SYSTEM_WAITER_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « mojo/system/waiter_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698