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

Side by Side Diff: mojo/edk/test/multiprocess_test_helper.h

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years 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
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_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ 5 #ifndef MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_
6 #define MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ 6 #define MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/process/process.h" 12 #include "base/process/process.h"
13 #include "base/test/multiprocess_test.h" 13 #include "base/test/multiprocess_test.h"
14 #include "base/test/test_timeouts.h" 14 #include "base/test/test_timeouts.h"
15 #include "mojo/edk/embedder/embedder.h" 15 #include "mojo/edk/embedder/embedder.h"
16 #include "mojo/public/cpp/system/message_pipe.h" 16 #include "mojo/public/cpp/system/message_pipe.h"
17 #include "testing/multiprocess_func_list.h" 17 #include "testing/multiprocess_func_list.h"
18 18
19 namespace mojo { 19 namespace mojo {
20 20
21 namespace edk { 21 namespace edk {
22 class PlatformChannelPair;
23 22
24 namespace test { 23 namespace test {
25 24
26 class MultiprocessTestHelper { 25 class MultiprocessTestHelper {
27 public: 26 public:
28 using HandlerCallback = base::Callback<void(ScopedMessagePipeHandle)>; 27 using HandlerCallback = base::Callback<void(ScopedMessagePipeHandle)>;
29 28
30 enum class LaunchType { 29 enum class LaunchType {
31 // Launch the child process as a child in the mojo system. 30 // Launch the child process as a child in the mojo system.
32 CHILD, 31 CHILD,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 std::string peer_token_; 100 std::string peer_token_;
102 101
103 DISALLOW_COPY_AND_ASSIGN(MultiprocessTestHelper); 102 DISALLOW_COPY_AND_ASSIGN(MultiprocessTestHelper);
104 }; 103 };
105 104
106 } // namespace test 105 } // namespace test
107 } // namespace edk 106 } // namespace edk
108 } // namespace mojo 107 } // namespace mojo
109 108
110 #endif // MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ 109 #endif // MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « mojo/edk/system/shared_buffer_dispatcher.h ('k') | mojo/public/cpp/bindings/lib/multiplex_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698