Chromium Code Reviews| 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). | |
| 264 const base::Feature kUseEchoCanceller3{"UseEchoCanceller3", | |
|
mcasas
2017/02/10 18:13:01
s/UseEchoCanceller3/WebRtcUseEchoCanceller3/
peah
2017/02/15 13:24:24
Thanks!
Done.
| |
| 265 base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 266 | |
| 263 // Controls whether the WebUSB API is enabled: | 267 // Controls whether the WebUSB API is enabled: |
| 264 // https://wicg.github.io/webusb | 268 // https://wicg.github.io/webusb |
| 265 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 269 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 266 | 270 |
| 267 // Make sendBeacon throw for a Blob with a non simple type. | 271 // Make sendBeacon throw for a Blob with a non simple type. |
| 268 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ | 272 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ |
| 269 "SendBeaconThrowForBlobWithNonSimpleType", | 273 "SendBeaconThrowForBlobWithNonSimpleType", |
| 270 base::FEATURE_DISABLED_BY_DEFAULT}; | 274 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 271 | 275 |
| 272 #if defined(OS_ANDROID) | 276 #if defined(OS_ANDROID) |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 295 #endif // !defined(OS_ANDROID) | 299 #endif // !defined(OS_ANDROID) |
| 296 | 300 |
| 297 #if defined(OS_WIN) | 301 #if defined(OS_WIN) |
| 298 // Emergency "off switch" for new Windows sandbox security mitigation, | 302 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 299 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 303 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 300 const base::Feature kWinSboxDisableExtensionPoints{ | 304 const base::Feature kWinSboxDisableExtensionPoints{ |
| 301 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 305 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 302 #endif | 306 #endif |
| 303 | 307 |
| 304 } // namespace features | 308 } // namespace features |
| OLD | NEW |