| 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 MOJO_SHELL_NATIVE_RUNNER_H_ | 5 #ifndef MOJO_SHELL_NATIVE_RUNNER_H_ |
| 6 #define MOJO_SHELL_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 "base/process/process_handle.h" | 10 #include "base/process/process_handle.h" |
| 11 #include "mojo/application/public/interfaces/application.mojom.h" | |
| 12 #include "mojo/public/cpp/bindings/interface_request.h" | 11 #include "mojo/public/cpp/bindings/interface_request.h" |
| 12 #include "mojo/shell/public/interfaces/application.mojom.h" |
| 13 | 13 |
| 14 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
| 15 #undef DELETE | 15 #undef DELETE |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class FilePath; | 19 class FilePath; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace mojo { | 22 namespace mojo { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 46 class NativeRunnerFactory { | 46 class NativeRunnerFactory { |
| 47 public: | 47 public: |
| 48 virtual ~NativeRunnerFactory() {} | 48 virtual ~NativeRunnerFactory() {} |
| 49 virtual scoped_ptr<NativeRunner> Create(const base::FilePath& app_path) = 0; | 49 virtual scoped_ptr<NativeRunner> Create(const base::FilePath& app_path) = 0; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace shell | 52 } // namespace shell |
| 53 } // namespace mojo | 53 } // namespace mojo |
| 54 | 54 |
| 55 #endif // MOJO_SHELL_NATIVE_RUNNER_H_ | 55 #endif // MOJO_SHELL_NATIVE_RUNNER_H_ |
| OLD | NEW |