| 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 SERVICES_SHELL_NATIVE_RUNNER_H_ | 5 #ifndef SERVICES_SERVICE_MANAGER_NATIVE_RUNNER_H_ |
| 6 #define SERVICES_SHELL_NATIVE_RUNNER_H_ | 6 #define SERVICES_SERVICE_MANAGER_NATIVE_RUNNER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/process/process_handle.h" | 11 #include "base/process/process_handle.h" |
| 12 #include "mojo/public/cpp/bindings/interface_request.h" | 12 #include "mojo/public/cpp/bindings/interface_request.h" |
| 13 #include "services/shell/public/interfaces/service.mojom.h" | 13 #include "services/service_manager/public/interfaces/service.mojom.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class FilePath; | 16 class FilePath; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace shell { | 19 namespace shell { |
| 20 class Identity; | 20 class Identity; |
| 21 | 21 |
| 22 // Shell requires implementations of NativeRunner and NativeRunnerFactory to run | 22 // Shell requires implementations of NativeRunner and NativeRunnerFactory to run |
| 23 // native applications. | 23 // native applications. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 class NativeRunnerFactory { | 39 class NativeRunnerFactory { |
| 40 public: | 40 public: |
| 41 virtual ~NativeRunnerFactory() {} | 41 virtual ~NativeRunnerFactory() {} |
| 42 virtual std::unique_ptr<NativeRunner> Create( | 42 virtual std::unique_ptr<NativeRunner> Create( |
| 43 const base::FilePath& app_path) = 0; | 43 const base::FilePath& app_path) = 0; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace shell | 46 } // namespace shell |
| 47 | 47 |
| 48 #endif // SERVICES_SHELL_NATIVE_RUNNER_H_ | 48 #endif // SERVICES_SERVICE_MANAGER_NATIVE_RUNNER_H_ |
| OLD | NEW |