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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1284083002: Print stack traces in child processes when browser tests failed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 5 years, 4 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 | « content/app/content_main_runner.cc ('k') | content/common/sandbox_win.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 1216
1217 AppendCompositorCommandLineFlags(command_line); 1217 AppendCompositorCommandLineFlags(command_line);
1218 } 1218 }
1219 1219
1220 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( 1220 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
1221 const base::CommandLine& browser_cmd, 1221 const base::CommandLine& browser_cmd,
1222 base::CommandLine* renderer_cmd) const { 1222 base::CommandLine* renderer_cmd) const {
1223 // Propagate the following switches to the renderer command line (along 1223 // Propagate the following switches to the renderer command line (along
1224 // with any associated values) if present in the browser command line. 1224 // with any associated values) if present in the browser command line.
1225 static const char* const kSwitchNames[] = { 1225 static const char* const kSwitchNames[] = {
1226 "crash-renderer",
1226 switches::kAllowLoopbackInPeerConnection, 1227 switches::kAllowLoopbackInPeerConnection,
1227 switches::kAudioBufferSize, 1228 switches::kAudioBufferSize,
1228 switches::kBlinkPlatformLogChannels, 1229 switches::kBlinkPlatformLogChannels,
1229 switches::kBlinkSettings, 1230 switches::kBlinkSettings,
1230 switches::kDefaultTileWidth, 1231 switches::kDefaultTileWidth,
1231 switches::kDefaultTileHeight, 1232 switches::kDefaultTileHeight,
1232 switches::kDisable3DAPIs, 1233 switches::kDisable3DAPIs,
1233 switches::kDisableAcceleratedJpegDecoding, 1234 switches::kDisableAcceleratedJpegDecoding,
1234 switches::kDisableAcceleratedVideoDecode, 1235 switches::kDisableAcceleratedVideoDecode,
1235 switches::kDisableBlinkFeatures, 1236 switches::kDisableBlinkFeatures,
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
2526 void RenderProcessHostImpl::GetAudioOutputControllers( 2527 void RenderProcessHostImpl::GetAudioOutputControllers(
2527 const GetAudioOutputControllersCallback& callback) const { 2528 const GetAudioOutputControllersCallback& callback) const {
2528 audio_renderer_host()->GetOutputControllers(callback); 2529 audio_renderer_host()->GetOutputControllers(callback);
2529 } 2530 }
2530 2531
2531 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2532 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2532 return bluetooth_dispatcher_host_.get(); 2533 return bluetooth_dispatcher_host_.get();
2533 } 2534 }
2534 2535
2535 } // namespace content 2536 } // namespace content
OLDNEW
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/common/sandbox_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698