| Index: shell/child_main.h
|
| diff --git a/shell/child_main.h b/shell/child_main.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..36cb9cddcd0252e6445fdad3f149b060074af1d6
|
| --- /dev/null
|
| +++ b/shell/child_main.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef SHELL_CHILD_MAIN_H_
|
| +#define SHELL_CHILD_MAIN_H_
|
| +
|
| +namespace mojo {
|
| +namespace shell {
|
| +
|
| +// The "main()" for child processes. This should be called with a
|
| +// the |base::CommandLine| singleton initialized and a |base::AtExitManager|,
|
| +// but without a |base::MessageLoop| for the current thread. Returns the exit
|
| +// code for the process.
|
| +int ChildMain();
|
| +
|
| +} // namespace shell
|
| +} // namespace mojo
|
| +
|
| +#endif // SHELL_CHILD_MAIN_H_
|
|
|