| 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 253 |
| 254 // Use GpuMemoryBuffer backed VideoFrames in media streams. | 254 // Use GpuMemoryBuffer backed VideoFrames in media streams. |
| 255 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ | 255 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ |
| 256 "WebRTC-UseGpuMemoryBufferVideoFrames", | 256 "WebRTC-UseGpuMemoryBufferVideoFrames", |
| 257 base::FEATURE_DISABLED_BY_DEFAULT}; | 257 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 258 | 258 |
| 259 // Enables HW H264 encoding on Android. | 259 // Enables HW H264 encoding on Android. |
| 260 const base::Feature kWebRtcHWH264Encoding{ | 260 const base::Feature kWebRtcHWH264Encoding{ |
| 261 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; | 261 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 262 | 262 |
| 263 // Enables the WebRTC Echo Canceller version 3 (AEC3). Feature for |
| 264 // http://crbug.com/688388. This value is sent to WebRTC's echo canceller to |
| 265 // toggle which echo canceller should be used. |
| 266 const base::Feature kWebRtcUseEchoCanceller3{"WebRtcUseEchoCanceller3", |
| 267 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 268 |
| 263 // Controls whether the WebUSB API is enabled: | 269 // Controls whether the WebUSB API is enabled: |
| 264 // https://wicg.github.io/webusb | 270 // https://wicg.github.io/webusb |
| 265 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 271 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 266 | 272 |
| 267 // Make sendBeacon throw for a Blob with a non simple type. | 273 // Make sendBeacon throw for a Blob with a non simple type. |
| 268 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ | 274 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ |
| 269 "SendBeaconThrowForBlobWithNonSimpleType", | 275 "SendBeaconThrowForBlobWithNonSimpleType", |
| 270 base::FEATURE_DISABLED_BY_DEFAULT}; | 276 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 271 | 277 |
| 272 #if defined(OS_ANDROID) | 278 #if defined(OS_ANDROID) |
| (...skipping 22 matching lines...) Expand all Loading... |
| 295 #endif // !defined(OS_ANDROID) | 301 #endif // !defined(OS_ANDROID) |
| 296 | 302 |
| 297 #if defined(OS_WIN) | 303 #if defined(OS_WIN) |
| 298 // Emergency "off switch" for new Windows sandbox security mitigation, | 304 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 299 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 305 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 300 const base::Feature kWinSboxDisableExtensionPoints{ | 306 const base::Feature kWinSboxDisableExtensionPoints{ |
| 301 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 307 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 302 #endif | 308 #endif |
| 303 | 309 |
| 304 } // namespace features | 310 } // namespace features |
| OLD | NEW |