Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2573933002: Restore switch kDisableWebRtcHWEncoding (Closed)
Patch Set: renew comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/public/browser/gpu_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1807 cc::switches::kShowSurfaceDamageRects, 1807 cc::switches::kShowSurfaceDamageRects,
1808 cc::switches::kSlowDownRasterScaleFactor, 1808 cc::switches::kSlowDownRasterScaleFactor,
1809 cc::switches::kBrowserControlsHideThreshold, 1809 cc::switches::kBrowserControlsHideThreshold,
1810 cc::switches::kBrowserControlsShowThreshold, 1810 cc::switches::kBrowserControlsShowThreshold,
1811 1811
1812 #if BUILDFLAG(ENABLE_PLUGINS) 1812 #if BUILDFLAG(ENABLE_PLUGINS)
1813 switches::kEnablePepperTesting, 1813 switches::kEnablePepperTesting,
1814 #endif 1814 #endif
1815 #if BUILDFLAG(ENABLE_WEBRTC) 1815 #if BUILDFLAG(ENABLE_WEBRTC)
1816 switches::kDisableWebRtcHWDecoding, 1816 switches::kDisableWebRtcHWDecoding,
1817 switches::kDisableWebRtcHWVP8Encoding, 1817 switches::kDisableWebRtcHWEncoding,
1818 switches::kEnableWebRtcStunOrigin, 1818 switches::kEnableWebRtcStunOrigin,
1819 switches::kEnforceWebRtcIPPermissionCheck, 1819 switches::kEnforceWebRtcIPPermissionCheck,
1820 switches::kForceWebRtcIPHandlingPolicy, 1820 switches::kForceWebRtcIPHandlingPolicy,
1821 switches::kWebRtcMaxCaptureFramerate, 1821 switches::kWebRtcMaxCaptureFramerate,
1822 #endif 1822 #endif
1823 switches::kEnableLowEndDeviceMode, 1823 switches::kEnableLowEndDeviceMode,
1824 switches::kDisableLowEndDeviceMode, 1824 switches::kDisableLowEndDeviceMode,
1825 #if defined(OS_ANDROID) 1825 #if defined(OS_ANDROID)
1826 switches::kDisableUnifiedMediaPipeline, 1826 switches::kDisableUnifiedMediaPipeline,
1827 switches::kEnableContentIntentDetection, 1827 switches::kEnableContentIntentDetection,
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
3022 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3022 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3023 3023
3024 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3024 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3025 // Capture the error message in a crash key value. 3025 // Capture the error message in a crash key value.
3026 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3026 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3027 bad_message::ReceivedBadMessage(render_process_id, 3027 bad_message::ReceivedBadMessage(render_process_id,
3028 bad_message::RPH_MOJO_PROCESS_ERROR); 3028 bad_message::RPH_MOJO_PROCESS_ERROR);
3029 } 3029 }
3030 3030
3031 } // namespace content 3031 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/public/browser/gpu_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698