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

Side by Side Diff: content/browser/renderer_host/render_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, 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/child/child_thread.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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1202 switches::kEnableWebAudio, 1202 switches::kEnableWebAudio,
1203 #else 1203 #else
1204 // Need to be able to disable webaudio on other platforms where it 1204 // Need to be able to disable webaudio on other platforms where it
1205 // is enabled by default. 1205 // is enabled by default.
1206 switches::kDisableWebAudio, 1206 switches::kDisableWebAudio,
1207 #endif 1207 #endif
1208 #if defined(OS_MACOSX) 1208 #if defined(OS_MACOSX)
1209 // Allow this to be set when invoking the browser and relayed along. 1209 // Allow this to be set when invoking the browser and relayed along.
1210 switches::kEnableSandboxLogging, 1210 switches::kEnableSandboxLogging,
1211 #endif 1211 #endif
1212 #if defined(OS_POSIX)
1213 switches::kChildCleanExit,
1214 #endif
1215 #if defined(OS_WIN) 1212 #if defined(OS_WIN)
1216 switches::kEnableDirectWrite, 1213 switches::kEnableDirectWrite,
1217 switches::kEnableHighResolutionTime, 1214 switches::kEnableHighResolutionTime,
1218 switches::kHighDPISupport, 1215 switches::kHighDPISupport,
1219 #endif 1216 #endif
1220 }; 1217 };
1221 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 1218 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
1222 arraysize(kSwitchNames)); 1219 arraysize(kSwitchNames));
1223 1220
1224 if (browser_cmd.HasSwitch(switches::kTraceStartup) && 1221 if (browser_cmd.HasSwitch(switches::kTraceStartup) &&
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
2159 void RenderProcessHostImpl::SetWebUIHandle( 2156 void RenderProcessHostImpl::SetWebUIHandle(
2160 int32 view_routing_id, 2157 int32 view_routing_id,
2161 mojo::ScopedMessagePipeHandle handle) { 2158 mojo::ScopedMessagePipeHandle handle) {
2162 if (!render_process_host_mojo_) 2159 if (!render_process_host_mojo_)
2163 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); 2160 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this));
2164 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); 2161 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass());
2165 } 2162 }
2166 #endif 2163 #endif
2167 2164
2168 } // namespace content 2165 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698