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_SHELL_CHILD_PROCESS_H_ | 5 #ifndef MOJO_SHELL_CHILD_PROCESS_H_ |
6 #define MOJO_SHELL_CHILD_PROCESS_H_ | 6 #define MOJO_SHELL_CHILD_PROCESS_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 "mojo/embedder/scoped_platform_handle.h" | 10 #include "mojo/edk/embedder/scoped_platform_handle.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class CommandLine; | 13 class CommandLine; |
14 } | 14 } |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 namespace shell { | 17 namespace shell { |
18 | 18 |
19 // A base class for child processes -- i.e., code that is actually run within | 19 // A base class for child processes -- i.e., code that is actually run within |
20 // the child process. (Instances are manufactured by |Create()|.) | 20 // the child process. (Instances are manufactured by |Create()|.) |
(...skipping 27 matching lines...) Expand all Loading... |
48 // Available in |Main()| (after a successful |Create()|). | 48 // Available in |Main()| (after a successful |Create()|). |
49 embedder::ScopedPlatformHandle platform_channel_; | 49 embedder::ScopedPlatformHandle platform_channel_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(ChildProcess); | 51 DISALLOW_COPY_AND_ASSIGN(ChildProcess); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace shell | 54 } // namespace shell |
55 } // namespace mojo | 55 } // namespace mojo |
56 | 56 |
57 #endif // MOJO_SHELL_CHILD_PROCESS_H_ | 57 #endif // MOJO_SHELL_CHILD_PROCESS_H_ |
OLD | NEW |