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

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

Issue 1876473002: Add a feature flag for enabling subscription restrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // An experimental User Agent Intervention on WebFonts loading. 80 // An experimental User Agent Intervention on WebFonts loading.
81 const base::Feature kWebFontsIntervention{"WebFontsIntervention", 81 const base::Feature kWebFontsIntervention{"WebFontsIntervention",
82 base::FEATURE_DISABLED_BY_DEFAULT}; 82 base::FEATURE_DISABLED_BY_DEFAULT};
83 83
84 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was 84 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was
85 // specified in JS). 85 // specified in JS).
86 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa", 86 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa",
87 base::FEATURE_DISABLED_BY_DEFAULT}; 87 base::FEATURE_DISABLED_BY_DEFAULT};
88 88
89 // Enables support for restricting push messaging subscriptions to a specific
Michael van Ouwerkerk 2016/04/15 16:13:41 I would expect that the WebPushProtocol feature en
90 // application server, which is an alternative authentication mechanism for push
91 // services required for the Web Push Protocol. See http://crbug.com/601825
92 const base::Feature kWebPushProtocol{
93 "WebPushProtocol", base::FEATURE_DISABLED_BY_DEFAULT};
94
89 // Controls whether the WebUSB API is enabled: 95 // Controls whether the WebUSB API is enabled:
90 // https://wicg.github.io/webusb 96 // https://wicg.github.io/webusb
91 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; 97 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT};
92 98
93 #if defined(OS_ANDROID) 99 #if defined(OS_ANDROID)
94 // Use IME's own thread instead of using main UI thread. It also means that 100 // Use IME's own thread instead of using main UI thread. It also means that
95 // we will not use replica editor and do a round trip to renderer to synchronize 101 // we will not use replica editor and do a round trip to renderer to synchronize
96 // with Blink data. 102 // with Blink data.
97 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; 103 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT};
98 104
99 // FeatureList definition for the Seccomp field trial. 105 // FeatureList definition for the Seccomp field trial.
100 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 106 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
101 base::FEATURE_DISABLED_BY_DEFAULT}; 107 base::FEATURE_DISABLED_BY_DEFAULT};
102 #endif 108 #endif
103 109
104 } // namespace features 110 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698