| 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_SHELL_OUT_OF_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ | 5 #ifndef MOJO_SHELL_OUT_OF_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ |
| 6 #define MOJO_SHELL_OUT_OF_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ | 6 #define MOJO_SHELL_OUT_OF_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 ScopedMessagePipeHandle service_handle, | 29 ScopedMessagePipeHandle service_handle, |
| 30 const base::Closure& app_completed_callback) override; | 30 const base::Closure& app_completed_callback) override; |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 // |AppChildControllerClient| method: | 33 // |AppChildControllerClient| method: |
| 34 void AppCompleted(int32_t result) override; | 34 void AppCompleted(int32_t result) override; |
| 35 | 35 |
| 36 Context* const context_; | 36 Context* const context_; |
| 37 | 37 |
| 38 base::FilePath app_path_; | 38 base::FilePath app_path_; |
| 39 ScopedMessagePipeHandle service_handle_; | |
| 40 base::Closure app_completed_callback_; | 39 base::Closure app_completed_callback_; |
| 41 | 40 |
| 42 scoped_ptr<AppChildProcessHost> app_child_process_host_; | 41 scoped_ptr<AppChildProcessHost> app_child_process_host_; |
| 43 | 42 |
| 44 DISALLOW_COPY_AND_ASSIGN(OutOfProcessDynamicServiceRunner); | 43 DISALLOW_COPY_AND_ASSIGN(OutOfProcessDynamicServiceRunner); |
| 45 }; | 44 }; |
| 46 | 45 |
| 47 typedef DynamicServiceRunnerFactoryImpl<OutOfProcessDynamicServiceRunner> | 46 typedef DynamicServiceRunnerFactoryImpl<OutOfProcessDynamicServiceRunner> |
| 48 OutOfProcessDynamicServiceRunnerFactory; | 47 OutOfProcessDynamicServiceRunnerFactory; |
| 49 | 48 |
| 50 } // namespace shell | 49 } // namespace shell |
| 51 } // namespace mojo | 50 } // namespace mojo |
| 52 | 51 |
| 53 #endif // MOJO_SHELL_OUT_OF_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ | 52 #endif // MOJO_SHELL_OUT_OF_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ |
| OLD | NEW |