| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 242 |
| 243 // Use GpuMemoryBuffer backed VideoFrames in media streams. | 243 // Use GpuMemoryBuffer backed VideoFrames in media streams. |
| 244 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ | 244 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ |
| 245 "WebRTC-UseGpuMemoryBufferVideoFrames", | 245 "WebRTC-UseGpuMemoryBufferVideoFrames", |
| 246 base::FEATURE_DISABLED_BY_DEFAULT}; | 246 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 247 | 247 |
| 248 // Enables HW H264 encoding on Android. | 248 // Enables HW H264 encoding on Android. |
| 249 const base::Feature kWebRtcHWH264Encoding{ | 249 const base::Feature kWebRtcHWH264Encoding{ |
| 250 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; | 250 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 251 | 251 |
| 252 // Enables the WebRTC Echo Canceller version 3 (AEC3). Feature for |
| 253 // http://crbug.com/688388. This value is sent to WebRTC's echo canceller to |
| 254 // toggle which echo canceller should be used. |
| 255 const base::Feature kWebRtcUseEchoCanceller3{"WebRtcUseEchoCanceller3", |
| 256 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 257 |
| 252 // Controls whether the WebUSB API is enabled: | 258 // Controls whether the WebUSB API is enabled: |
| 253 // https://wicg.github.io/webusb | 259 // https://wicg.github.io/webusb |
| 254 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 260 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 255 | 261 |
| 256 // Make sendBeacon throw for a Blob with a non simple type. | 262 // Make sendBeacon throw for a Blob with a non simple type. |
| 257 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ | 263 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ |
| 258 "SendBeaconThrowForBlobWithNonSimpleType", | 264 "SendBeaconThrowForBlobWithNonSimpleType", |
| 259 base::FEATURE_DISABLED_BY_DEFAULT}; | 265 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 260 | 266 |
| 261 #if defined(OS_ANDROID) | 267 #if defined(OS_ANDROID) |
| (...skipping 26 matching lines...) Expand all Loading... |
| 288 #endif // !defined(OS_ANDROID) | 294 #endif // !defined(OS_ANDROID) |
| 289 | 295 |
| 290 #if defined(OS_WIN) | 296 #if defined(OS_WIN) |
| 291 // Emergency "off switch" for new Windows sandbox security mitigation, | 297 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 292 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 298 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 293 const base::Feature kWinSboxDisableExtensionPoints{ | 299 const base::Feature kWinSboxDisableExtensionPoints{ |
| 294 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 300 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 295 #endif | 301 #endif |
| 296 | 302 |
| 297 } // namespace features | 303 } // namespace features |
| OLD | NEW |