OLD | NEW |
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 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1375 // Propagate the following switches to the renderer command line (along | 1375 // Propagate the following switches to the renderer command line (along |
1376 // with any associated values) if present in the browser command line. | 1376 // with any associated values) if present in the browser command line. |
1377 static const char* const kSwitchNames[] = { | 1377 static const char* const kSwitchNames[] = { |
1378 switches::kAgcStartupMinVolume, | 1378 switches::kAgcStartupMinVolume, |
1379 switches::kAecRefinedAdaptiveFilter, | 1379 switches::kAecRefinedAdaptiveFilter, |
1380 switches::kAllowLoopbackInPeerConnection, | 1380 switches::kAllowLoopbackInPeerConnection, |
1381 switches::kAndroidFontsPath, | 1381 switches::kAndroidFontsPath, |
1382 switches::kAudioBufferSize, | 1382 switches::kAudioBufferSize, |
1383 switches::kBlinkPlatformLogChannels, | 1383 switches::kBlinkPlatformLogChannels, |
1384 switches::kBlinkSettings, | 1384 switches::kBlinkSettings, |
1385 switches::kCastEncoderUtilHeuristic, | |
1386 switches::kDefaultTileWidth, | 1385 switches::kDefaultTileWidth, |
1387 switches::kDefaultTileHeight, | 1386 switches::kDefaultTileHeight, |
1388 switches::kDisable2dCanvasImageChromium, | 1387 switches::kDisable2dCanvasImageChromium, |
1389 switches::kDisable3DAPIs, | 1388 switches::kDisable3DAPIs, |
1390 switches::kDisableAcceleratedJpegDecoding, | 1389 switches::kDisableAcceleratedJpegDecoding, |
1391 switches::kDisableAcceleratedVideoDecode, | 1390 switches::kDisableAcceleratedVideoDecode, |
1392 switches::kDisableBlinkFeatures, | 1391 switches::kDisableBlinkFeatures, |
1393 switches::kDisableBreakpad, | 1392 switches::kDisableBreakpad, |
1394 switches::kDisablePreferCompositingToLCDText, | 1393 switches::kDisablePreferCompositingToLCDText, |
1395 switches::kDisableDatabases, | 1394 switches::kDisableDatabases, |
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2778 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2777 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
2779 | 2778 |
2780 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2779 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
2781 // enough information here so that we can determine what the bad message was. | 2780 // enough information here so that we can determine what the bad message was. |
2782 base::debug::Alias(&error); | 2781 base::debug::Alias(&error); |
2783 bad_message::ReceivedBadMessage(process.get(), | 2782 bad_message::ReceivedBadMessage(process.get(), |
2784 bad_message::RPH_MOJO_PROCESS_ERROR); | 2783 bad_message::RPH_MOJO_PROCESS_ERROR); |
2785 } | 2784 } |
2786 | 2785 |
2787 } // namespace content | 2786 } // namespace content |
OLD | NEW |