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