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_RUNNER_OUT_OF_PROCESS_NATIVE_RUNNER_H_ | 5 #ifndef MOJO_RUNNER_OUT_OF_PROCESS_NATIVE_RUNNER_H_ |
6 #define MOJO_RUNNER_OUT_OF_PROCESS_NATIVE_RUNNER_H_ | 6 #define MOJO_RUNNER_OUT_OF_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 "mojo/public/cpp/bindings/error_handler.h" | |
13 #include "mojo/shell/native_runner.h" | 12 #include "mojo/shell/native_runner.h" |
14 | 13 |
15 namespace mojo { | 14 namespace mojo { |
16 namespace runner { | 15 namespace runner { |
17 | 16 |
18 class ChildProcessHost; | 17 class ChildProcessHost; |
19 class Context; | 18 class Context; |
20 | 19 |
21 // An implementation of |NativeRunner| that loads/runs the given app (from the | 20 // An implementation of |NativeRunner| that loads/runs the given app (from the |
22 // file system) in a separate process (of its own). | 21 // file system) in a separate process (of its own). |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 private: | 55 private: |
57 Context* const context_; | 56 Context* const context_; |
58 | 57 |
59 DISALLOW_COPY_AND_ASSIGN(OutOfProcessNativeRunnerFactory); | 58 DISALLOW_COPY_AND_ASSIGN(OutOfProcessNativeRunnerFactory); |
60 }; | 59 }; |
61 | 60 |
62 } // namespace runner | 61 } // namespace runner |
63 } // namespace mojo | 62 } // namespace mojo |
64 | 63 |
65 #endif // MOJO_RUNNER_OUT_OF_PROCESS_NATIVE_RUNNER_H_ | 64 #endif // MOJO_RUNNER_OUT_OF_PROCESS_NATIVE_RUNNER_H_ |
OLD | NEW |