OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SHELL_CHILD_MAIN_H_ |
| 6 #define SHELL_CHILD_MAIN_H_ |
| 7 |
| 8 namespace mojo { |
| 9 namespace shell { |
| 10 |
| 11 // The "main()" for child processes. This should be called with a |
| 12 // the |base::CommandLine| singleton initialized and a |base::AtExitManager|, |
| 13 // but without a |base::MessageLoop| for the current thread. Returns the exit |
| 14 // code for the process. |
| 15 int ChildMain(); |
| 16 |
| 17 } // namespace shell |
| 18 } // namespace mojo |
| 19 |
| 20 #endif // SHELL_CHILD_MAIN_H_ |
OLD | NEW |