| 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_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_ | 5 #ifndef SERVICES_SHELL_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_ | 
| 6 #define MOJO_SHELL_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_ | 6 #define SERVICES_SHELL_RUNNER_HOST_IN_PROCESS_NATIVE_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" | 
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" | 
| 12 #include "base/scoped_native_library.h" | 12 #include "base/scoped_native_library.h" | 
| 13 #include "base/threading/simple_thread.h" | 13 #include "base/threading/simple_thread.h" | 
| 14 #include "mojo/shell/native_runner.h" | 14 #include "services/shell/native_runner.h" | 
| 15 #include "mojo/shell/runner/host/native_application_support.h" | 15 #include "services/shell/runner/host/native_application_support.h" | 
| 16 | 16 | 
| 17 namespace base { | 17 namespace base { | 
| 18 class TaskRunner; | 18 class TaskRunner; | 
| 19 } | 19 } | 
| 20 | 20 | 
| 21 namespace mojo { | 21 namespace mojo { | 
| 22 namespace shell { | 22 namespace shell { | 
| 23 | 23 | 
| 24 // An implementation of |NativeRunner| that loads/runs the given app (from the | 24 // An implementation of |NativeRunner| that loads/runs the given app (from the | 
| 25 // file system) on a separate thread (in the current process). | 25 // file system) on a separate thread (in the current process). | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 61 | 61 | 
| 62  private: | 62  private: | 
| 63   base::TaskRunner* const launch_process_runner_; | 63   base::TaskRunner* const launch_process_runner_; | 
| 64 | 64 | 
| 65   DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunnerFactory); | 65   DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunnerFactory); | 
| 66 }; | 66 }; | 
| 67 | 67 | 
| 68 }  // namespace shell | 68 }  // namespace shell | 
| 69 }  // namespace mojo | 69 }  // namespace mojo | 
| 70 | 70 | 
| 71 #endif  // MOJO_SHELL_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_ | 71 #endif  // SERVICES_SHELL_RUNNER_HOST_IN_PROCESS_NATIVE_RUNNER_H_ | 
| OLD | NEW | 
|---|