OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_LAUNCHER_PROCESS_H_ | 5 #ifndef MOJO_SHELL_LAUNCHER_PROCESS_H_ |
6 #define MOJO_SHELL_LAUNCHER_PROCESS_H_ | 6 #define MOJO_SHELL_LAUNCHER_PROCESS_H_ |
7 | 7 |
| 8 #include "base/callback_forward.h" |
| 9 |
| 10 class GURL; |
| 11 |
8 namespace mojo { | 12 namespace mojo { |
9 namespace runner { | 13 namespace runner { |
10 | 14 |
11 // Main method for the launcher process. | 15 // Main method for the launcher process. |
12 int LauncherProcessMain(int argc, char** argv); | 16 // See commit in main_helper.h for explanation of the parameters. |
| 17 int LauncherProcessMain(const GURL& mojo_url, const base::Closure& callback); |
13 | 18 |
14 } // namespace runner | 19 } // namespace runner |
15 } // namespace mojo | 20 } // namespace mojo |
16 | 21 |
17 #endif // MOJO_SHELL_LAUNCHER_PROCESS_H_ | 22 #endif // MOJO_SHELL_LAUNCHER_PROCESS_H_ |
OLD | NEW |