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

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

Issue 2386693004: Disable GpuMemoryBuffer backed VideoFrames in media streams (Closed)
Patch Set: Add base::Feature which is disabled by default. Created 4 years, 2 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // If WebGL Image Chromium is allowed, this feature controls whether it is 162 // If WebGL Image Chromium is allowed, this feature controls whether it is
163 // enabled. 163 // enabled.
164 const base::Feature kWebGLImageChromium{"WebGLImageChromium", 164 const base::Feature kWebGLImageChromium{"WebGLImageChromium",
165 base::FEATURE_ENABLED_BY_DEFAULT}; 165 base::FEATURE_ENABLED_BY_DEFAULT};
166 166
167 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was 167 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was
168 // specified in JS). 168 // specified in JS).
169 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa", 169 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa",
170 base::FEATURE_ENABLED_BY_DEFAULT}; 170 base::FEATURE_ENABLED_BY_DEFAULT};
171 171
172 // Use GpuMemoryBuffer backed VideoFrames in media streams.
173 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{
174 "WebRTC-UseGpuMemoryBufferVideoFrames",
175 base::FEATURE_DISABLED_BY_DEFAULT};
176
172 // Controls whether the WebUSB API is enabled: 177 // Controls whether the WebUSB API is enabled:
173 // https://wicg.github.io/webusb 178 // https://wicg.github.io/webusb
174 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; 179 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT};
175 180
176 // Make sendBeacon throw for a Blob with a non simple type. 181 // Make sendBeacon throw for a Blob with a non simple type.
177 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ 182 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{
178 "SendBeaconThrowForBlobWithNonSimpleType", 183 "SendBeaconThrowForBlobWithNonSimpleType",
179 base::FEATURE_DISABLED_BY_DEFAULT}; 184 base::FEATURE_DISABLED_BY_DEFAULT};
180 185
181 #if defined(OS_ANDROID) 186 #if defined(OS_ANDROID)
(...skipping 17 matching lines...) Expand all
199 #endif 204 #endif
200 205
201 #if defined(OS_WIN) 206 #if defined(OS_WIN)
202 // Emergency "off switch" for new Windows sandbox security mitigation, 207 // Emergency "off switch" for new Windows sandbox security mitigation,
203 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 208 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
204 const base::Feature kWinSboxDisableExtensionPoints{ 209 const base::Feature kWinSboxDisableExtensionPoints{
205 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 210 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
206 #endif 211 #endif
207 212
208 } // namespace features 213 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/media/media_stream_video_renderer_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698