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

Side by Side Diff: content/browser/browser_child_process_host_impl.cc

Issue 217403002: Remove kChildCleanExit since it's not used anymore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | « chrome/test/functional/test_clean_exit.py ('k') | content/browser/child_process_launcher.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/browser_child_process_host_impl.h" 5 #include "content/browser/browser_child_process_host_impl.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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 cmd_line, data_.id); 137 cmd_line, data_.id);
138 138
139 const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess(); 139 const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
140 static const char* kForwardSwitches[] = { 140 static const char* kForwardSwitches[] = {
141 switches::kDisableLogging, 141 switches::kDisableLogging,
142 switches::kEnableLogging, 142 switches::kEnableLogging,
143 switches::kLoggingLevel, 143 switches::kLoggingLevel,
144 switches::kTraceToConsole, 144 switches::kTraceToConsole,
145 switches::kV, 145 switches::kV,
146 switches::kVModule, 146 switches::kVModule,
147 #if defined(OS_POSIX)
148 switches::kChildCleanExit,
149 #endif
150 #if defined(OS_WIN) 147 #if defined(OS_WIN)
151 switches::kEnableHighResolutionTime, 148 switches::kEnableHighResolutionTime,
152 #endif 149 #endif
153 }; 150 };
154 cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches, 151 cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches,
155 arraysize(kForwardSwitches)); 152 arraysize(kForwardSwitches));
156 153
157 child_process_.reset(new ChildProcessLauncher( 154 child_process_.reset(new ChildProcessLauncher(
158 delegate, 155 delegate,
159 cmd_line, 156 cmd_line,
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 347
351 void BrowserChildProcessHostImpl::OnProcessExitedEarly( 348 void BrowserChildProcessHostImpl::OnProcessExitedEarly(
352 base::WaitableEvent* event) { 349 base::WaitableEvent* event) {
353 DeleteProcessWaitableEvent(event); 350 DeleteProcessWaitableEvent(event);
354 OnChildDisconnected(); 351 OnChildDisconnected();
355 } 352 }
356 353
357 #endif 354 #endif
358 355
359 } // namespace content 356 } // namespace content
OLDNEW
« no previous file with comments | « chrome/test/functional/test_clean_exit.py ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698