| 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 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1352 // Propagate the following switches to the renderer command line (along | 1352 // Propagate the following switches to the renderer command line (along |
| 1353 // with any associated values) if present in the browser command line. | 1353 // with any associated values) if present in the browser command line. |
| 1354 static const char* const kSwitchNames[] = { | 1354 static const char* const kSwitchNames[] = { |
| 1355 switches::kAgcStartupMinVolume, | 1355 switches::kAgcStartupMinVolume, |
| 1356 switches::kAecRefinedAdaptiveFilter, | 1356 switches::kAecRefinedAdaptiveFilter, |
| 1357 switches::kAllowLoopbackInPeerConnection, | 1357 switches::kAllowLoopbackInPeerConnection, |
| 1358 switches::kAndroidFontsPath, | 1358 switches::kAndroidFontsPath, |
| 1359 switches::kAudioBufferSize, | 1359 switches::kAudioBufferSize, |
| 1360 switches::kBlinkPlatformLogChannels, | 1360 switches::kBlinkPlatformLogChannels, |
| 1361 switches::kBlinkSettings, | 1361 switches::kBlinkSettings, |
| 1362 switches::kCastEncoderUtilHeuristic, |
| 1362 switches::kDefaultTileWidth, | 1363 switches::kDefaultTileWidth, |
| 1363 switches::kDefaultTileHeight, | 1364 switches::kDefaultTileHeight, |
| 1364 switches::kDisable2dCanvasImageChromium, | 1365 switches::kDisable2dCanvasImageChromium, |
| 1365 switches::kDisable3DAPIs, | 1366 switches::kDisable3DAPIs, |
| 1366 switches::kDisableAcceleratedJpegDecoding, | 1367 switches::kDisableAcceleratedJpegDecoding, |
| 1367 switches::kDisableAcceleratedVideoDecode, | 1368 switches::kDisableAcceleratedVideoDecode, |
| 1368 switches::kDisableBlinkFeatures, | 1369 switches::kDisableBlinkFeatures, |
| 1369 switches::kDisableBreakpad, | 1370 switches::kDisableBreakpad, |
| 1370 switches::kDisablePreferCompositingToLCDText, | 1371 switches::kDisablePreferCompositingToLCDText, |
| 1371 switches::kDisableDatabases, | 1372 switches::kDisableDatabases, |
| (...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2824 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2825 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 2825 | 2826 |
| 2826 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2827 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 2827 // enough information here so that we can determine what the bad message was. | 2828 // enough information here so that we can determine what the bad message was. |
| 2828 base::debug::Alias(&error); | 2829 base::debug::Alias(&error); |
| 2829 bad_message::ReceivedBadMessage(process.get(), | 2830 bad_message::ReceivedBadMessage(process.get(), |
| 2830 bad_message::RPH_MOJO_PROCESS_ERROR); | 2831 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 2831 } | 2832 } |
| 2832 | 2833 |
| 2833 } // namespace content | 2834 } // namespace content |
| OLD | NEW |