| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 // MediaDocument. | 144 // MediaDocument. |
| 145 const base::Feature kMediaDocumentDownloadButton{ | 145 const base::Feature kMediaDocumentDownloadButton{ |
| 146 "MediaDocumentDownloadButton", | 146 "MediaDocumentDownloadButton", |
| 147 base::FEATURE_DISABLED_BY_DEFAULT | 147 base::FEATURE_DISABLED_BY_DEFAULT |
| 148 }; | 148 }; |
| 149 | 149 |
| 150 // Enables the old algorithm for processing audio constraints in getUserMedia(). | 150 // Enables the old algorithm for processing audio constraints in getUserMedia(). |
| 151 const base::Feature kMediaStreamOldAudioConstraints{ | 151 const base::Feature kMediaStreamOldAudioConstraints{ |
| 152 "MediaStreamOldAudioConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; | 152 "MediaStreamOldAudioConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 153 | 153 |
| 154 // Enables the old algorithm for processing video constraints in getUserMedia(). | |
| 155 const base::Feature kMediaStreamOldVideoConstraints{ | |
| 156 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 157 | |
| 158 // Enables the memory coordinator. | 154 // Enables the memory coordinator. |
| 159 // WARNING: | 155 // WARNING: |
| 160 // The memory coordinator is not ready for use and enabling this may cause | 156 // The memory coordinator is not ready for use and enabling this may cause |
| 161 // unexpected memory regression at this point. Please do not enable this. | 157 // unexpected memory regression at this point. Please do not enable this. |
| 162 const base::Feature kMemoryCoordinator { | 158 const base::Feature kMemoryCoordinator { |
| 163 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT | 159 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT |
| 164 }; | 160 }; |
| 165 | 161 |
| 166 // Kill switch for Web Notification content images. | 162 // Kill switch for Web Notification content images. |
| 167 const base::Feature kNotificationContentImage{"NotificationContentImage", | 163 const base::Feature kNotificationContentImage{"NotificationContentImage", |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 #endif | 395 #endif |
| 400 | 396 |
| 401 #if defined(OS_MACOSX) | 397 #if defined(OS_MACOSX) |
| 402 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the | 398 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the |
| 403 // entire life of the process. | 399 // entire life of the process. |
| 404 const base::Feature kMacV2Sandbox{"MacV2Sandbox", | 400 const base::Feature kMacV2Sandbox{"MacV2Sandbox", |
| 405 base::FEATURE_DISABLED_BY_DEFAULT}; | 401 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 406 #endif // defined(OS_MACOSX) | 402 #endif // defined(OS_MACOSX) |
| 407 | 403 |
| 408 } // namespace features | 404 } // namespace features |
| OLD | NEW |