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

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

Issue 1225673006: Revert of mandoline filesystem: Save cookie data to the mojo:filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sqlite-fs
Patch Set: Created 5 years, 5 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 | « mojo/runner/BUILD.gn ('k') | mojo/runner/context.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/runner/child_process_host.h" 5 #include "mojo/runner/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"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 if (!success) { 92 if (!success) {
93 LOG(ERROR) << "Failed to start child process"; 93 LOG(ERROR) << "Failed to start child process";
94 AppCompleted(MOJO_RESULT_UNKNOWN); 94 AppCompleted(MOJO_RESULT_UNKNOWN);
95 return; 95 return;
96 } 96 }
97 } 97 }
98 98
99 bool ChildProcessHost::DoLaunch() { 99 bool ChildProcessHost::DoLaunch() {
100 static const char* kForwardSwitches[] = { 100 static const char* kForwardSwitches[] = {
101 switches::kUserDataDir,
102 switches::kOverrideUseGLWithOSMesaForTests, 101 switches::kOverrideUseGLWithOSMesaForTests,
103 switches::kTraceToConsole, 102 switches::kTraceToConsole,
104 switches::kV, 103 switches::kV,
105 switches::kVModule, 104 switches::kVModule,
106 switches::kWaitForDebugger, 105 switches::kWaitForDebugger,
107 }; 106 };
108 107
109 const base::CommandLine* parent_command_line = 108 const base::CommandLine* parent_command_line =
110 base::CommandLine::ForCurrentProcess(); 109 base::CommandLine::ForCurrentProcess();
111 base::CommandLine child_command_line(parent_command_line->GetProgram()); 110 base::CommandLine child_command_line(parent_command_line->GetProgram());
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 147
149 void ChildProcessHost::DidCreateChannel(embedder::ChannelInfo* channel_info) { 148 void ChildProcessHost::DidCreateChannel(embedder::ChannelInfo* channel_info) {
150 DVLOG(2) << "AppChildProcessHost::DidCreateChannel()"; 149 DVLOG(2) << "AppChildProcessHost::DidCreateChannel()";
151 150
152 CHECK(channel_info); 151 CHECK(channel_info);
153 channel_info_ = channel_info; 152 channel_info_ = channel_info;
154 } 153 }
155 154
156 } // namespace runner 155 } // namespace runner
157 } // namespace mojo 156 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/runner/BUILD.gn ('k') | mojo/runner/context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698