Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: content/public/common/content_features.cc

Issue 2941563002: Enable new getUserMedia audio constraints algorithm behind a flag. (Closed)
Patch Set: remove vertical space from DEPS Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 const base::Feature kLocationHardReload{"LocationHardReload", 129 const base::Feature kLocationHardReload{"LocationHardReload",
130 base::FEATURE_DISABLED_BY_DEFAULT}; 130 base::FEATURE_DISABLED_BY_DEFAULT};
131 131
132 // FeatureList definition for trials to enable the download button on 132 // FeatureList definition for trials to enable the download button on
133 // MediaDocument. 133 // MediaDocument.
134 const base::Feature kMediaDocumentDownloadButton{ 134 const base::Feature kMediaDocumentDownloadButton{
135 "MediaDocumentDownloadButton", 135 "MediaDocumentDownloadButton",
136 base::FEATURE_DISABLED_BY_DEFAULT 136 base::FEATURE_DISABLED_BY_DEFAULT
137 }; 137 };
138 138
139 // Enables the old algorithm for processing audio constraints in getUserMedia().
140 const base::Feature kMediaStreamOldAudioConstraints{
141 "MediaStreamOldAudioConstraints", base::FEATURE_ENABLED_BY_DEFAULT};
142
139 // Enables the old algorithm for processing video constraints in getUserMedia(). 143 // Enables the old algorithm for processing video constraints in getUserMedia().
140 const base::Feature kMediaStreamOldVideoConstraints{ 144 const base::Feature kMediaStreamOldVideoConstraints{
141 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; 145 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT};
142 146
143 // Enables the memory coordinator. 147 // Enables the memory coordinator.
144 // WARNING: 148 // WARNING:
145 // The memory coordinator is not ready for use and enabling this may cause 149 // The memory coordinator is not ready for use and enabling this may cause
146 // unexpected memory regression at this point. Please do not enable this. 150 // unexpected memory regression at this point. Please do not enable this.
147 const base::Feature kMemoryCoordinator { 151 const base::Feature kMemoryCoordinator {
148 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT 152 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 #endif 377 #endif
374 378
375 #if defined(OS_WIN) 379 #if defined(OS_WIN)
376 // Emergency "off switch" for new Windows sandbox security mitigation, 380 // Emergency "off switch" for new Windows sandbox security mitigation,
377 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 381 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
378 const base::Feature kWinSboxDisableExtensionPoints{ 382 const base::Feature kWinSboxDisableExtensionPoints{
379 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 383 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
380 #endif 384 #endif
381 385
382 } // namespace features 386 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/media/media_stream_audio_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698