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 1953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1964 switches::kForceDeviceScaleFactor, | 1964 switches::kForceDeviceScaleFactor, |
1965 switches::kForceDisplayList2dCanvas, | 1965 switches::kForceDisplayList2dCanvas, |
1966 switches::kForceGpuMemAvailableMb, | 1966 switches::kForceGpuMemAvailableMb, |
1967 switches::kForceGpuRasterization, | 1967 switches::kForceGpuRasterization, |
1968 switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 1968 switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
1969 switches::kForceOverlayFullscreenVideo, | 1969 switches::kForceOverlayFullscreenVideo, |
1970 switches::kFullMemoryCrashReport, | 1970 switches::kFullMemoryCrashReport, |
1971 switches::kIgnoreAutoplayRestrictionsForTests, | 1971 switches::kIgnoreAutoplayRestrictionsForTests, |
1972 switches::kInertVisualViewport, | 1972 switches::kInertVisualViewport, |
1973 switches::kIPCConnectionTimeout, | 1973 switches::kIPCConnectionTimeout, |
| 1974 switches::kIsolateOrigins, |
1974 switches::kIsRunningInMash, | 1975 switches::kIsRunningInMash, |
1975 switches::kJavaScriptFlags, | 1976 switches::kJavaScriptFlags, |
1976 switches::kLoggingLevel, | 1977 switches::kLoggingLevel, |
1977 switches::kMainFrameResizesAreOrientationChanges, | 1978 switches::kMainFrameResizesAreOrientationChanges, |
1978 switches::kMaxUntiledLayerWidth, | 1979 switches::kMaxUntiledLayerWidth, |
1979 switches::kMaxUntiledLayerHeight, | 1980 switches::kMaxUntiledLayerHeight, |
1980 switches::kMemoryMetrics, | 1981 switches::kMemoryMetrics, |
1981 switches::kMojoLocalStorage, | 1982 switches::kMojoLocalStorage, |
1982 switches::kMSEAudioBufferSizeLimit, | 1983 switches::kMSEAudioBufferSizeLimit, |
1983 switches::kMSEVideoBufferSizeLimit, | 1984 switches::kMSEVideoBufferSizeLimit, |
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3348 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3349 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3349 | 3350 |
3350 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3351 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3351 // Capture the error message in a crash key value. | 3352 // Capture the error message in a crash key value. |
3352 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3353 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3353 bad_message::ReceivedBadMessage(render_process_id, | 3354 bad_message::ReceivedBadMessage(render_process_id, |
3354 bad_message::RPH_MOJO_PROCESS_ERROR); | 3355 bad_message::RPH_MOJO_PROCESS_ERROR); |
3355 } | 3356 } |
3356 | 3357 |
3357 } // namespace content | 3358 } // namespace content |
OLD | NEW |