| 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 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1745 switches::kReducedReferrerGranularity, | 1745 switches::kReducedReferrerGranularity, |
| 1746 switches::kReduceSecurityForTesting, | 1746 switches::kReduceSecurityForTesting, |
| 1747 switches::kRegisterPepperPlugins, | 1747 switches::kRegisterPepperPlugins, |
| 1748 switches::kRendererStartupDialog, | 1748 switches::kRendererStartupDialog, |
| 1749 switches::kRootLayerScrolls, | 1749 switches::kRootLayerScrolls, |
| 1750 switches::kShowPaintRects, | 1750 switches::kShowPaintRects, |
| 1751 switches::kSitePerProcess, | 1751 switches::kSitePerProcess, |
| 1752 switches::kStatsCollectionController, | 1752 switches::kStatsCollectionController, |
| 1753 switches::kTestType, | 1753 switches::kTestType, |
| 1754 switches::kTopDocumentIsolation, | 1754 switches::kTopDocumentIsolation, |
| 1755 switches::kTouchEvents, | 1755 switches::kTouchEventFeatureDetection, |
| 1756 switches::kTouchTextSelectionStrategy, | 1756 switches::kTouchTextSelectionStrategy, |
| 1757 switches::kTraceConfigFile, | 1757 switches::kTraceConfigFile, |
| 1758 switches::kTraceToConsole, | 1758 switches::kTraceToConsole, |
| 1759 switches::kUseFakeUIForMediaStream, | 1759 switches::kUseFakeUIForMediaStream, |
| 1760 // This flag needs to be propagated to the renderer process for | 1760 // This flag needs to be propagated to the renderer process for |
| 1761 // --in-process-webgl. | 1761 // --in-process-webgl. |
| 1762 switches::kUseGL, | 1762 switches::kUseGL, |
| 1763 switches::kUseGpuInTests, | 1763 switches::kUseGpuInTests, |
| 1764 switches::kUseMobileUserAgent, | 1764 switches::kUseMobileUserAgent, |
| 1765 switches::kUseRemoteCompositing, | 1765 switches::kUseRemoteCompositing, |
| (...skipping 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3001 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3001 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3002 | 3002 |
| 3003 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3003 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3004 // Capture the error message in a crash key value. | 3004 // Capture the error message in a crash key value. |
| 3005 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3005 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3006 bad_message::ReceivedBadMessage(render_process_id, | 3006 bad_message::ReceivedBadMessage(render_process_id, |
| 3007 bad_message::RPH_MOJO_PROCESS_ERROR); | 3007 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3008 } | 3008 } |
| 3009 | 3009 |
| 3010 } // namespace content | 3010 } // namespace content |
| OLD | NEW |