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

Unified Diff: content/public/common/content_switches.cc

Issue 2358683002: Android: enable/disable WebRTC HW H264 with a flag. (Closed)
Patch Set: expanding existing switch flag instead of add one more feature Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index f5e4349c22425bf37081c30e6b64db87cbafde4f..6f513a2e066aed4a991b9e91dd6e984ef1e15d5f 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -905,6 +905,9 @@ const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
// Disables HW encode acceleration for WebRTC.
const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
+const char kDisableWebRtcHWEncodingVPx[] = "vpx";
+const char kDisableWebRtcHWEncodingH264[] = "h264";
+const char kDisableWebRtcHWEncodingNone[] = "none";
// Enables negotiation of DTLS 1.2 for WebRTC.
const char kEnableWebRtcDtls12[] = "enable-webrtc-dtls12";

Powered by Google App Engine
This is Rietveld 408576698