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

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: merge 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 "MediaStreamOldAudioConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; 147 "MediaStreamOldAudioConstraints", base::FEATURE_DISABLED_BY_DEFAULT};
148 148
149 // Enables the memory coordinator. 149 // Enables the memory coordinator.
150 // WARNING: 150 // WARNING:
151 // The memory coordinator is not ready for use and enabling this may cause 151 // The memory coordinator is not ready for use and enabling this may cause
152 // unexpected memory regression at this point. Please do not enable this. 152 // unexpected memory regression at this point. Please do not enable this.
153 const base::Feature kMemoryCoordinator { 153 const base::Feature kMemoryCoordinator {
154 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT 154 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
155 }; 155 };
156 156
157 // Enables the network service.
158 const base::Feature kNetworkService{"NetworkService",
159 base::FEATURE_DISABLED_BY_DEFAULT};
160
157 // Kill switch for Web Notification content images. 161 // Kill switch for Web Notification content images.
158 const base::Feature kNotificationContentImage{"NotificationContentImage", 162 const base::Feature kNotificationContentImage{"NotificationContentImage",
159 base::FEATURE_ENABLED_BY_DEFAULT}; 163 base::FEATURE_ENABLED_BY_DEFAULT};
160 // An experiment forcing events to be non-blocking when the main thread is 164 // An experiment forcing events to be non-blocking when the main thread is
161 // deemed unresponsive. See crbug.com/599609. 165 // deemed unresponsive. See crbug.com/599609.
162 const base::Feature kMainThreadBusyScrollIntervention{ 166 const base::Feature kMainThreadBusyScrollIntervention{
163 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; 167 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT};
164 168
165 // Blob mojofication. 169 // Blob mojofication.
166 const base::Feature kMojoBlobs{"MojoBlobs", base::FEATURE_DISABLED_BY_DEFAULT}; 170 const base::Feature kMojoBlobs{"MojoBlobs", base::FEATURE_DISABLED_BY_DEFAULT};
(...skipping 232 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698