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

Side by Side Diff: mojo/shell/child_process_host.cc

Issue 203373004: Mojo: Move mojo/system/embedder to mojo/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « mojo/shell/child_process_host.h ('k') | mojo/shell/context.cc » ('j') | 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 "mojo/shell/child_process_host.h" 5 #include "mojo/shell/child_process_host.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/process/kill.h" 13 #include "base/process/kill.h"
14 #include "base/process/launch.h" 14 #include "base/process/launch.h"
15 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
16 #include "base/task_runner.h" 16 #include "base/task_runner.h"
17 #include "base/task_runner_util.h" 17 #include "base/task_runner_util.h"
18 #include "mojo/embedder/platform_channel_pair.h"
18 #include "mojo/shell/context.h" 19 #include "mojo/shell/context.h"
19 #include "mojo/shell/switches.h" 20 #include "mojo/shell/switches.h"
20 #include "mojo/system/embedder/platform_channel_pair.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 namespace shell { 23 namespace shell {
24 24
25 ChildProcessHost::ChildProcessHost(Context* context, 25 ChildProcessHost::ChildProcessHost(Context* context,
26 Delegate* delegate, 26 Delegate* delegate,
27 ChildProcess::Type type) 27 ChildProcess::Type type)
28 : context_(context), 28 : context_(context),
29 delegate_(delegate), 29 delegate_(delegate),
30 type_(type), 30 type_(type),
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 CHECK(platform_channel_.is_valid()); 96 CHECK(platform_channel_.is_valid());
97 return true; 97 return true;
98 } 98 }
99 99
100 void ChildProcessHost::DidLaunch(bool success) { 100 void ChildProcessHost::DidLaunch(bool success) {
101 delegate_->DidStart(success); 101 delegate_->DidStart(success);
102 } 102 }
103 103
104 } // namespace shell 104 } // namespace shell
105 } // namespace mojo 105 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/child_process_host.h ('k') | mojo/shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698