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

Side by Side Diff: mojo/shell/child_process.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.h ('k') | mojo/shell/child_process_host.h » ('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.h" 5 #include "mojo/shell/child_process.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "mojo/embedder/platform_channel_pair.h"
10 #include "mojo/shell/app_child_process.h" 11 #include "mojo/shell/app_child_process.h"
11 #include "mojo/shell/switches.h" 12 #include "mojo/shell/switches.h"
12 #include "mojo/shell/test_child_process.h" 13 #include "mojo/shell/test_child_process.h"
13 #include "mojo/system/embedder/platform_channel_pair.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace shell { 16 namespace shell {
17 17
18 ChildProcess::~ChildProcess() { 18 ChildProcess::~ChildProcess() {
19 } 19 }
20 20
21 // static 21 // static
22 scoped_ptr<ChildProcess> ChildProcess::Create(const CommandLine& command_line) { 22 scoped_ptr<ChildProcess> ChildProcess::Create(const CommandLine& command_line) {
23 if (!command_line.HasSwitch(switches::kChildProcessType)) 23 if (!command_line.HasSwitch(switches::kChildProcessType))
(...skipping 28 matching lines...) Expand all
52 52
53 void ChildProcess::Run() { 53 void ChildProcess::Run() {
54 Main(); 54 Main();
55 } 55 }
56 56
57 ChildProcess::ChildProcess() { 57 ChildProcess::ChildProcess() {
58 } 58 }
59 59
60 } // namespace shell 60 } // namespace shell
61 } // namespace mojo 61 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/child_process.h ('k') | mojo/shell/child_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698