OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_ | 5 #ifndef MOJO_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_ |
6 #define MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_ | 6 #define MOJO_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/process/launch.h" | 10 #include "base/process/launch.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "mojo/edk/embedder/scoped_platform_handle.h" | 12 #include "mojo/embedder/scoped_platform_handle.h" |
13 #include "mojo/edk/system/system_impl_export.h" | 13 #include "mojo/system/system_impl_export.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class CommandLine; | 16 class CommandLine; |
17 } | 17 } |
18 | 18 |
19 namespace mojo { | 19 namespace mojo { |
20 namespace embedder { | 20 namespace embedder { |
21 | 21 |
22 // It would be nice to refactor base/process/launch.h to have a more platform- | 22 // It would be nice to refactor base/process/launch.h to have a more platform- |
23 // independent way of representing handles that are passed to child processes. | 23 // independent way of representing handles that are passed to child processes. |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 ScopedPlatformHandle server_handle_; | 85 ScopedPlatformHandle server_handle_; |
86 ScopedPlatformHandle client_handle_; | 86 ScopedPlatformHandle client_handle_; |
87 | 87 |
88 DISALLOW_COPY_AND_ASSIGN(PlatformChannelPair); | 88 DISALLOW_COPY_AND_ASSIGN(PlatformChannelPair); |
89 }; | 89 }; |
90 | 90 |
91 } // namespace embedder | 91 } // namespace embedder |
92 } // namespace mojo | 92 } // namespace mojo |
93 | 93 |
94 #endif // MOJO_EDK_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_ | 94 #endif // MOJO_EMBEDDER_PLATFORM_CHANNEL_PAIR_H_ |
OLD | NEW |