OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_HOST_NATIVE_APPLICATION_SUPPORT_H_ | 5 #ifndef MOJO_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_H_ |
6 #define MOJO_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_H_ | 6 #define MOJO_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_H_ |
7 | 7 |
8 #include "base/native_library.h" | 8 #include "base/native_library.h" |
9 #include "mojo/public/cpp/bindings/interface_request.h" | 9 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" |
10 | 10 |
11 namespace base { | 11 namespace base { |
12 class FilePath; | 12 class FilePath; |
13 } | 13 } |
14 | 14 |
15 namespace mojo { | 15 namespace mojo { |
16 | 16 |
17 class Application; | 17 class Application; |
18 | 18 |
19 namespace runner { | 19 namespace runner { |
(...skipping 14 matching lines...) Expand all Loading... |
34 // true if |MojoMain()| was called (even if it returns an error), and false | 34 // true if |MojoMain()| was called (even if it returns an error), and false |
35 // otherwise. | 35 // otherwise. |
36 // TODO(vtl): Maybe this should also have a |MojoResult| as an out parameter? | 36 // TODO(vtl): Maybe this should also have a |MojoResult| as an out parameter? |
37 bool RunNativeApplication(base::NativeLibrary app_library, | 37 bool RunNativeApplication(base::NativeLibrary app_library, |
38 InterfaceRequest<Application> application_request); | 38 InterfaceRequest<Application> application_request); |
39 | 39 |
40 } // namespace runner | 40 } // namespace runner |
41 } // namespace mojo | 41 } // namespace mojo |
42 | 42 |
43 #endif // MOJO_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_H_ | 43 #endif // MOJO_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_H_ |
OLD | NEW |