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 1901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1912 switches::kForceDeviceScaleFactor, | 1912 switches::kForceDeviceScaleFactor, |
1913 switches::kForceDisplayList2dCanvas, | 1913 switches::kForceDisplayList2dCanvas, |
1914 switches::kForceGpuMemAvailableMb, | 1914 switches::kForceGpuMemAvailableMb, |
1915 switches::kForceGpuRasterization, | 1915 switches::kForceGpuRasterization, |
1916 switches::kEnableCanvas2dDynamicRenderingModeSwitching, | 1916 switches::kEnableCanvas2dDynamicRenderingModeSwitching, |
1917 switches::kForceOverlayFullscreenVideo, | 1917 switches::kForceOverlayFullscreenVideo, |
1918 switches::kFullMemoryCrashReport, | 1918 switches::kFullMemoryCrashReport, |
1919 switches::kIgnoreAutoplayRestrictionsForTests, | 1919 switches::kIgnoreAutoplayRestrictionsForTests, |
1920 switches::kInertVisualViewport, | 1920 switches::kInertVisualViewport, |
1921 switches::kIPCConnectionTimeout, | 1921 switches::kIPCConnectionTimeout, |
| 1922 switches::kIsolateOrigins, |
1922 switches::kIsRunningInMash, | 1923 switches::kIsRunningInMash, |
1923 switches::kJavaScriptFlags, | 1924 switches::kJavaScriptFlags, |
1924 switches::kLoggingLevel, | 1925 switches::kLoggingLevel, |
1925 switches::kMainFrameResizesAreOrientationChanges, | 1926 switches::kMainFrameResizesAreOrientationChanges, |
1926 switches::kMaxUntiledLayerWidth, | 1927 switches::kMaxUntiledLayerWidth, |
1927 switches::kMaxUntiledLayerHeight, | 1928 switches::kMaxUntiledLayerHeight, |
1928 switches::kMemoryMetrics, | 1929 switches::kMemoryMetrics, |
1929 switches::kMojoLocalStorage, | 1930 switches::kMojoLocalStorage, |
1930 switches::kMSEAudioBufferSizeLimit, | 1931 switches::kMSEAudioBufferSizeLimit, |
1931 switches::kMSEVideoBufferSizeLimit, | 1932 switches::kMSEVideoBufferSizeLimit, |
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3289 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3290 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3290 | 3291 |
3291 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3292 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3292 // Capture the error message in a crash key value. | 3293 // Capture the error message in a crash key value. |
3293 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3294 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3294 bad_message::ReceivedBadMessage(render_process_id, | 3295 bad_message::ReceivedBadMessage(render_process_id, |
3295 bad_message::RPH_MOJO_PROCESS_ERROR); | 3296 bad_message::RPH_MOJO_PROCESS_ERROR); |
3296 } | 3297 } |
3297 | 3298 |
3298 } // namespace content | 3299 } // namespace content |
OLD | NEW |