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

Side by Side Diff: content/public/common/content_switches.cc

Issue 1542443002: Add commandline flag to enable GCM cipher suites from RFC 7714 in WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates based on feedback from Justin Created 3 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 917
918 // Disables HW decode acceleration for WebRTC. 918 // Disables HW decode acceleration for WebRTC.
919 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 919 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
920 920
921 // Disables HW encode acceleration for WebRTC. 921 // Disables HW encode acceleration for WebRTC.
922 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 922 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
923 923
924 // Disables HW VP8 encode acceleration for WebRTC. 924 // Disables HW VP8 encode acceleration for WebRTC.
925 const char kDisableWebRtcHWVP8Encoding[] = "disable-webrtc-hw-vp8-encoding"; 925 const char kDisableWebRtcHWVP8Encoding[] = "disable-webrtc-hw-vp8-encoding";
926 926
927 // Enables negotiation of GCM cipher suites for SRTP in WebRTC.
Charlie Reis 2017/03/23 16:21:27 Maybe give a link to the RFC here, to help people
joachim 2017/03/23 20:07:11 Done.
928 const char kEnableWebRtcSrtpAesGcm[] = "enable-webrtc-srtp-aes-gcm";
929
927 // Enables Origin header in Stun messages for WebRTC. 930 // Enables Origin header in Stun messages for WebRTC.
928 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; 931 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin";
929 932
930 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is 933 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is
931 // not under finch and becomes the default. 934 // not under finch and becomes the default.
932 const char kEnforceWebRtcIPPermissionCheck[] = 935 const char kEnforceWebRtcIPPermissionCheck[] =
933 "enforce-webrtc-ip-permission-check"; 936 "enforce-webrtc-ip-permission-check";
934 937
935 // Override WebRTC IP handling policy to mimic the behavior when WebRTC IP 938 // Override WebRTC IP handling policy to mimic the behavior when WebRTC IP
936 // handling policy is specified in Preferences. 939 // handling policy is specified in Preferences.
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 // the given directory. Used primarily to gather samples for IPC fuzzing. 1087 // the given directory. Used primarily to gather samples for IPC fuzzing.
1085 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1088 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1086 1089
1087 // Specifies the testcase used by the IPC fuzzer. 1090 // Specifies the testcase used by the IPC fuzzer.
1088 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1091 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1089 #endif 1092 #endif
1090 1093
1091 // Don't dump stuff here, follow the same order as the header. 1094 // Don't dump stuff here, follow the same order as the header.
1092 1095
1093 } // namespace switches 1096 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698