OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 SERVICES_SHELL_RUNNER_INIT_H_ | 5 #ifndef SERVICES_SHELL_RUNNER_INIT_H_ |
6 #define SERVICES_SHELL_RUNNER_INIT_H_ | 6 #define SERVICES_SHELL_RUNNER_INIT_H_ |
7 | 7 |
8 #include "base/native_library.h" | 8 #include "base/native_library.h" |
9 | 9 |
10 namespace mojo { | |
11 namespace shell { | 10 namespace shell { |
12 | 11 |
13 // Initialization routines shared by desktop and Android main functions. | 12 // Initialization routines shared by desktop and Android main functions. |
14 void InitializeLogging(); | 13 void InitializeLogging(); |
15 | 14 |
16 void WaitForDebuggerIfNecessary(); | 15 void WaitForDebuggerIfNecessary(); |
17 | 16 |
18 // Calls "LibraryEarlyInitialization" in |app_library| if it exists. We do | 17 // Calls "LibraryEarlyInitialization" in |app_library| if it exists. We do |
19 // common initialization there now. | 18 // common initialization there now. |
20 void CallLibraryEarlyInitialization(base::NativeLibrary app_library); | 19 void CallLibraryEarlyInitialization(base::NativeLibrary app_library); |
21 | 20 |
22 } // namespace shell | 21 } // namespace shell |
23 } // namespace mojo | |
24 | 22 |
25 #endif // SERVICES_SHELL_RUNNER_INIT_H_ | 23 #endif // SERVICES_SHELL_RUNNER_INIT_H_ |
OLD | NEW |