Chromium Code Reviews| 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 1695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1706 switches::kEnableNetworkInformation, | 1706 switches::kEnableNetworkInformation, |
| 1707 switches::kEnableOverlayScrollbar, | 1707 switches::kEnableOverlayScrollbar, |
| 1708 switches::kEnablePinch, | 1708 switches::kEnablePinch, |
| 1709 switches::kEnablePluginPlaceholderTesting, | 1709 switches::kEnablePluginPlaceholderTesting, |
| 1710 switches::kEnablePreciseMemoryInfo, | 1710 switches::kEnablePreciseMemoryInfo, |
| 1711 switches::kEnablePreferCompositingToLCDText, | 1711 switches::kEnablePreferCompositingToLCDText, |
| 1712 switches::kEnableRGBA4444Textures, | 1712 switches::kEnableRGBA4444Textures, |
| 1713 switches::kEnableSkiaBenchmarking, | 1713 switches::kEnableSkiaBenchmarking, |
| 1714 switches::kEnableSlimmingPaintV2, | 1714 switches::kEnableSlimmingPaintV2, |
| 1715 switches::kEnableSlimmingPaintInvalidation, | 1715 switches::kEnableSlimmingPaintInvalidation, |
| 1716 switches::kDisableSlimmingPaintInvalidation, | |
|
Charlie Reis
2017/01/05 20:35:39
nit: Alphabetize to be consistent with the rest of
Xianzhu
2017/01/05 21:39:47
Done.
| |
| 1716 switches::kEnableSmoothScrolling, | 1717 switches::kEnableSmoothScrolling, |
| 1717 switches::kEnableStatsTable, | 1718 switches::kEnableStatsTable, |
| 1718 switches::kEnableThreadedCompositing, | 1719 switches::kEnableThreadedCompositing, |
| 1719 switches::kEnableTouchDragDrop, | 1720 switches::kEnableTouchDragDrop, |
| 1720 switches::kEnableUseZoomForDSF, | 1721 switches::kEnableUseZoomForDSF, |
| 1721 switches::kEnableViewport, | 1722 switches::kEnableViewport, |
| 1722 switches::kEnableVp9InMp4, | 1723 switches::kEnableVp9InMp4, |
| 1723 switches::kEnableVtune, | 1724 switches::kEnableVtune, |
| 1724 switches::kEnableWebFontsInterventionTrigger, | 1725 switches::kEnableWebFontsInterventionTrigger, |
| 1725 switches::kEnableWebFontsInterventionV2, | 1726 switches::kEnableWebFontsInterventionV2, |
| (...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3003 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3004 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3004 | 3005 |
| 3005 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3006 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3006 // Capture the error message in a crash key value. | 3007 // Capture the error message in a crash key value. |
| 3007 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3008 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3008 bad_message::ReceivedBadMessage(render_process_id, | 3009 bad_message::ReceivedBadMessage(render_process_id, |
| 3009 bad_message::RPH_MOJO_PROCESS_ERROR); | 3010 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3010 } | 3011 } |
| 3011 | 3012 |
| 3012 } // namespace content | 3013 } // namespace content |
| OLD | NEW |