| 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 SHELL_APPLICATION_MANAGER_NATIVE_RUNNER_H_ | 5 #ifndef MOJO_SHELL_NATIVE_RUNNER_H_ |
| 6 #define SHELL_APPLICATION_MANAGER_NATIVE_RUNNER_H_ | 6 #define MOJO_SHELL_NATIVE_RUNNER_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "mojo/public/cpp/bindings/interface_request.h" | 10 #include "mojo/public/cpp/bindings/interface_request.h" |
| 11 #include "mojo/public/interfaces/application/application.mojom.h" | 11 #include "mojo/public/interfaces/application/application.mojom.h" |
| 12 #include "mojo/shell/native_application_support.h" | 12 #include "mojo/runner/native_application_support.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class FilePath; | 15 class FilePath; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace mojo { | 18 namespace mojo { |
| 19 namespace shell { | 19 namespace shell { |
| 20 | 20 |
| 21 // ApplicationManager requires implementations of NativeRunner and | 21 // ApplicationManager requires implementations of NativeRunner and |
| 22 // NativeRunnerFactory to run native applications. | 22 // NativeRunnerFactory to run native applications. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 48 bool force_in_process; | 48 bool force_in_process; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 virtual ~NativeRunnerFactory() {} | 51 virtual ~NativeRunnerFactory() {} |
| 52 virtual scoped_ptr<NativeRunner> Create(const Options& options) = 0; | 52 virtual scoped_ptr<NativeRunner> Create(const Options& options) = 0; |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace shell | 55 } // namespace shell |
| 56 } // namespace mojo | 56 } // namespace mojo |
| 57 | 57 |
| 58 #endif // SHELL_APPLICATION_MANAGER_NATIVE_RUNNER_H_ | 58 #endif // MOJO_SHELL_NATIVE_RUNNER_H_ |
| OLD | NEW |