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

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

Issue 2573933002: Restore switch kDisableWebRtcHWEncoding (Closed)
Patch Set: check kDisableWebRtcHWEncoding only at creating encoder_factory Created 4 years 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
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 1776 matching lines...) Expand 10 before | Expand all | Expand 10 after
1787 cc::switches::kShowSurfaceDamageRects, 1787 cc::switches::kShowSurfaceDamageRects,
1788 cc::switches::kSlowDownRasterScaleFactor, 1788 cc::switches::kSlowDownRasterScaleFactor,
1789 cc::switches::kBrowserControlsHideThreshold, 1789 cc::switches::kBrowserControlsHideThreshold,
1790 cc::switches::kBrowserControlsShowThreshold, 1790 cc::switches::kBrowserControlsShowThreshold,
1791 1791
1792 #if BUILDFLAG(ENABLE_PLUGINS) 1792 #if BUILDFLAG(ENABLE_PLUGINS)
1793 switches::kEnablePepperTesting, 1793 switches::kEnablePepperTesting,
1794 #endif 1794 #endif
1795 #if BUILDFLAG(ENABLE_WEBRTC) 1795 #if BUILDFLAG(ENABLE_WEBRTC)
1796 switches::kDisableWebRtcHWDecoding, 1796 switches::kDisableWebRtcHWDecoding,
1797 switches::kDisableWebRtcHWVP8Encoding, 1797 switches::kDisableWebRtcHWEncoding,
Pawel Osciak 2016/12/15 05:45:53 And here as well?
braveyao 2016/12/15 20:46:24 Same answer here as I just restore my change to be
1798 switches::kEnableWebRtcStunOrigin, 1798 switches::kEnableWebRtcStunOrigin,
1799 switches::kEnforceWebRtcIPPermissionCheck, 1799 switches::kEnforceWebRtcIPPermissionCheck,
1800 switches::kForceWebRtcIPHandlingPolicy, 1800 switches::kForceWebRtcIPHandlingPolicy,
1801 switches::kWebRtcMaxCaptureFramerate, 1801 switches::kWebRtcMaxCaptureFramerate,
1802 #endif 1802 #endif
1803 switches::kEnableLowEndDeviceMode, 1803 switches::kEnableLowEndDeviceMode,
1804 switches::kDisableLowEndDeviceMode, 1804 switches::kDisableLowEndDeviceMode,
1805 #if defined(OS_ANDROID) 1805 #if defined(OS_ANDROID)
1806 switches::kDisableUnifiedMediaPipeline, 1806 switches::kDisableUnifiedMediaPipeline,
1807 switches::kEnableContentIntentDetection, 1807 switches::kEnableContentIntentDetection,
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
3002 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3002 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3003 3003
3004 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3004 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3005 // Capture the error message in a crash key value. 3005 // Capture the error message in a crash key value.
3006 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3006 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3007 bad_message::ReceivedBadMessage(render_process_id, 3007 bad_message::ReceivedBadMessage(render_process_id,
3008 bad_message::RPH_MOJO_PROCESS_ERROR); 3008 bad_message::RPH_MOJO_PROCESS_ERROR);
3009 } 3009 }
3010 3010
3011 } // namespace content 3011 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698