| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_features.h" | 6 #include "content/public/common/content_features.h" |
| 7 | 7 |
| 8 namespace features { | 8 namespace features { |
| 9 | 9 |
| 10 // All features in alphabetical order. | 10 // All features in alphabetical order. |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was | 216 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was |
| 217 // specified in JS). | 217 // specified in JS). |
| 218 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa", | 218 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa", |
| 219 base::FEATURE_ENABLED_BY_DEFAULT}; | 219 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 220 | 220 |
| 221 // Use GpuMemoryBuffer backed VideoFrames in media streams. | 221 // Use GpuMemoryBuffer backed VideoFrames in media streams. |
| 222 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ | 222 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ |
| 223 "WebRTC-UseGpuMemoryBufferVideoFrames", | 223 "WebRTC-UseGpuMemoryBufferVideoFrames", |
| 224 base::FEATURE_DISABLED_BY_DEFAULT}; | 224 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 225 | 225 |
| 226 // Enables HW H264 encoding on Android. |
| 227 const base::Feature kWebRtcHWH264EncodingAndroid{ |
| 228 "AndroidWebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 229 |
| 226 // Controls whether the WebUSB API is enabled: | 230 // Controls whether the WebUSB API is enabled: |
| 227 // https://wicg.github.io/webusb | 231 // https://wicg.github.io/webusb |
| 228 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 232 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 229 | 233 |
| 230 // Make sendBeacon throw for a Blob with a non simple type. | 234 // Make sendBeacon throw for a Blob with a non simple type. |
| 231 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ | 235 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ |
| 232 "SendBeaconThrowForBlobWithNonSimpleType", | 236 "SendBeaconThrowForBlobWithNonSimpleType", |
| 233 base::FEATURE_DISABLED_BY_DEFAULT}; | 237 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 234 | 238 |
| 235 #if defined(OS_ANDROID) | 239 #if defined(OS_ANDROID) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 255 #endif | 259 #endif |
| 256 | 260 |
| 257 #if defined(OS_WIN) | 261 #if defined(OS_WIN) |
| 258 // Emergency "off switch" for new Windows sandbox security mitigation, | 262 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 259 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 260 const base::Feature kWinSboxDisableExtensionPoints{ | 264 const base::Feature kWinSboxDisableExtensionPoints{ |
| 261 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 262 #endif | 266 #endif |
| 263 | 267 |
| 264 } // namespace features | 268 } // namespace features |
| OLD | NEW |