| 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 1733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1744 switches::kReducedReferrerGranularity, | 1744 switches::kReducedReferrerGranularity, |
| 1745 switches::kReduceSecurityForTesting, | 1745 switches::kReduceSecurityForTesting, |
| 1746 switches::kRegisterPepperPlugins, | 1746 switches::kRegisterPepperPlugins, |
| 1747 switches::kRendererStartupDialog, | 1747 switches::kRendererStartupDialog, |
| 1748 switches::kRootLayerScrolls, | 1748 switches::kRootLayerScrolls, |
| 1749 switches::kShowPaintRects, | 1749 switches::kShowPaintRects, |
| 1750 switches::kSitePerProcess, | 1750 switches::kSitePerProcess, |
| 1751 switches::kStatsCollectionController, | 1751 switches::kStatsCollectionController, |
| 1752 switches::kTestType, | 1752 switches::kTestType, |
| 1753 switches::kTopDocumentIsolation, | 1753 switches::kTopDocumentIsolation, |
| 1754 switches::kTouchEvents, | 1754 switches::kTouchEventFeatureDetection, |
| 1755 switches::kTouchTextSelectionStrategy, | 1755 switches::kTouchTextSelectionStrategy, |
| 1756 switches::kTraceConfigFile, | 1756 switches::kTraceConfigFile, |
| 1757 switches::kTraceToConsole, | 1757 switches::kTraceToConsole, |
| 1758 switches::kUseFakeUIForMediaStream, | 1758 switches::kUseFakeUIForMediaStream, |
| 1759 // This flag needs to be propagated to the renderer process for | 1759 // This flag needs to be propagated to the renderer process for |
| 1760 // --in-process-webgl. | 1760 // --in-process-webgl. |
| 1761 switches::kUseGL, | 1761 switches::kUseGL, |
| 1762 switches::kUseGpuInTests, | 1762 switches::kUseGpuInTests, |
| 1763 switches::kUseMobileUserAgent, | 1763 switches::kUseMobileUserAgent, |
| 1764 switches::kUseRemoteCompositing, | 1764 switches::kUseRemoteCompositing, |
| (...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3006 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3006 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3007 | 3007 |
| 3008 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 3008 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 3009 // enough information here so that we can determine what the bad message was. | 3009 // enough information here so that we can determine what the bad message was. |
| 3010 base::debug::Alias(&error); | 3010 base::debug::Alias(&error); |
| 3011 bad_message::ReceivedBadMessage(render_process_id, | 3011 bad_message::ReceivedBadMessage(render_process_id, |
| 3012 bad_message::RPH_MOJO_PROCESS_ERROR); | 3012 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3013 } | 3013 } |
| 3014 | 3014 |
| 3015 } // namespace content | 3015 } // namespace content |
| OLD | NEW |