Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Side by Side Diff: shell/out_of_process_native_runner.cc

Issue 1053743002: Rename AppChildController -> ChildController. (Closed) Base URL: https://github.com/domokit/mojo.git@simplify_child_5
Patch Set: rebased Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « shell/out_of_process_native_runner.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "shell/out_of_process_native_runner.h" 5 #include "shell/out_of_process_native_runner.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "shell/app_child_process.mojom.h" 11 #include "shell/child_controller.mojom.h"
12 #include "shell/child_process_host.h" 12 #include "shell/child_process_host.h"
13 #include "shell/in_process_native_runner.h" 13 #include "shell/in_process_native_runner.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace shell { 16 namespace shell {
17 17
18 OutOfProcessNativeRunner::OutOfProcessNativeRunner(Context* context) 18 OutOfProcessNativeRunner::OutOfProcessNativeRunner(Context* context)
19 : context_(context) { 19 : context_(context) {
20 } 20 }
21 21
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 scoped_ptr<NativeRunner> OutOfProcessNativeRunnerFactory::Create( 62 scoped_ptr<NativeRunner> OutOfProcessNativeRunnerFactory::Create(
63 const Options& options) { 63 const Options& options) {
64 if (options.force_in_process) 64 if (options.force_in_process)
65 return make_scoped_ptr(new InProcessNativeRunner(context_)); 65 return make_scoped_ptr(new InProcessNativeRunner(context_));
66 66
67 return make_scoped_ptr(new OutOfProcessNativeRunner(context_)); 67 return make_scoped_ptr(new OutOfProcessNativeRunner(context_));
68 } 68 }
69 69
70 } // namespace shell 70 } // namespace shell
71 } // namespace mojo 71 } // namespace mojo
OLDNEW
« no previous file with comments | « shell/out_of_process_native_runner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698