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

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

Issue 2960703003: Add a feature flag for network service and about:flags entry for it. (Closed)
Patch Set: more updates Created 3 years, 5 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; 156 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT};
157 157
158 // Enables the memory coordinator. 158 // Enables the memory coordinator.
159 // WARNING: 159 // WARNING:
160 // The memory coordinator is not ready for use and enabling this may cause 160 // 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. 161 // unexpected memory regression at this point. Please do not enable this.
162 const base::Feature kMemoryCoordinator { 162 const base::Feature kMemoryCoordinator {
163 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT 163 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
164 }; 164 };
165 165
166 // Enables the network service.
167 const base::Feature kNetworkService{"NetworkService",
168 base::FEATURE_DISABLED_BY_DEFAULT};
169
166 // Kill switch for Web Notification content images. 170 // Kill switch for Web Notification content images.
167 const base::Feature kNotificationContentImage{"NotificationContentImage", 171 const base::Feature kNotificationContentImage{"NotificationContentImage",
168 base::FEATURE_ENABLED_BY_DEFAULT}; 172 base::FEATURE_ENABLED_BY_DEFAULT};
169 // An experiment forcing events to be non-blocking when the main thread is 173 // An experiment forcing events to be non-blocking when the main thread is
170 // deemed unresponsive. See crbug.com/599609. 174 // deemed unresponsive. See crbug.com/599609.
171 const base::Feature kMainThreadBusyScrollIntervention{ 175 const base::Feature kMainThreadBusyScrollIntervention{
172 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; 176 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT};
173 177
174 // Blob mojofication. 178 // Blob mojofication.
175 const base::Feature kMojoBlobs{"MojoBlobs", base::FEATURE_DISABLED_BY_DEFAULT}; 179 const base::Feature kMojoBlobs{"MojoBlobs", base::FEATURE_DISABLED_BY_DEFAULT};
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 #endif 403 #endif
400 404
401 #if defined(OS_MACOSX) 405 #if defined(OS_MACOSX)
402 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the 406 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the
403 // entire life of the process. 407 // entire life of the process.
404 const base::Feature kMacV2Sandbox{"MacV2Sandbox", 408 const base::Feature kMacV2Sandbox{"MacV2Sandbox",
405 base::FEATURE_DISABLED_BY_DEFAULT}; 409 base::FEATURE_DISABLED_BY_DEFAULT};
406 #endif // defined(OS_MACOSX) 410 #endif // defined(OS_MACOSX)
407 411
408 } // namespace features 412 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698