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 #include "mojo/runner/host/out_of_process_native_runner.h" | 5 #include "mojo/runner/host/out_of_process_native_runner.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/callback_helpers.h" | 12 #include "base/callback_helpers.h" |
11 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
12 #include "base/logging.h" | 14 #include "base/logging.h" |
13 #include "base/task_runner.h" | 15 #include "base/task_runner.h" |
14 #include "mojo/runner/host/child_process_host.h" | 16 #include "mojo/runner/host/child_process_host.h" |
15 #include "mojo/runner/host/in_process_native_runner.h" | 17 #include "mojo/runner/host/in_process_native_runner.h" |
16 | 18 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 app_completed_callback.Run(); | 74 app_completed_callback.Run(); |
73 } | 75 } |
74 | 76 |
75 scoped_ptr<shell::NativeRunner> OutOfProcessNativeRunnerFactory::Create( | 77 scoped_ptr<shell::NativeRunner> OutOfProcessNativeRunnerFactory::Create( |
76 const base::FilePath& app_path) { | 78 const base::FilePath& app_path) { |
77 return make_scoped_ptr(new OutOfProcessNativeRunner(launch_process_runner_)); | 79 return make_scoped_ptr(new OutOfProcessNativeRunner(launch_process_runner_)); |
78 } | 80 } |
79 | 81 |
80 } // namespace runner | 82 } // namespace runner |
81 } // namespace mojo | 83 } // namespace mojo |
OLD | NEW |