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