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

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

Issue 2723623005: Set FeaturePolicy feature to stable
Patch Set: Add dependency patchset Created 3 years, 7 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 | « no previous file | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 » ('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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 base::FEATURE_DISABLED_BY_DEFAULT}; 69 base::FEATURE_DISABLED_BY_DEFAULT};
70 70
71 // Throttle tasks in Blink background timer queues based on CPU budgets 71 // Throttle tasks in Blink background timer queues based on CPU budgets
72 // for the background tab. Bug: https://crbug.com/639852. 72 // for the background tab. Bug: https://crbug.com/639852.
73 const base::Feature kExpensiveBackgroundTimerThrottling{ 73 const base::Feature kExpensiveBackgroundTimerThrottling{
74 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; 74 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT};
75 75
76 // Enables the Feature Policy framework for granting and removing access to 76 // Enables the Feature Policy framework for granting and removing access to
77 // other features through HTTP headers. 77 // other features through HTTP headers.
78 const base::Feature kFeaturePolicy{"FeaturePolicy", 78 const base::Feature kFeaturePolicy{"FeaturePolicy",
79 base::FEATURE_DISABLED_BY_DEFAULT}; 79 base::FEATURE_ENABLED_BY_DEFAULT};
80 80
81 // Enable filtering of same-origin tiny plugins 81 // Enable filtering of same-origin tiny plugins
82 const base::Feature kFilterSameOriginTinyPlugin{ 82 const base::Feature kFilterSameOriginTinyPlugin{
83 "FilterSameOriginTinyPlugins", base::FEATURE_DISABLED_BY_DEFAULT}; 83 "FilterSameOriginTinyPlugins", base::FEATURE_DISABLED_BY_DEFAULT};
84 84
85 // Enables a blink::FontCache optimization that reuses a font to serve different 85 // Enables a blink::FontCache optimization that reuses a font to serve different
86 // size of font. 86 // size of font.
87 const base::Feature kFontCacheScaling{"FontCacheScaling", 87 const base::Feature kFontCacheScaling{"FontCacheScaling",
88 base::FEATURE_DISABLED_BY_DEFAULT}; 88 base::FEATURE_DISABLED_BY_DEFAULT};
89 89
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 #endif // !defined(OS_ANDROID) 338 #endif // !defined(OS_ANDROID)
339 339
340 #if defined(OS_WIN) 340 #if defined(OS_WIN)
341 // Emergency "off switch" for new Windows sandbox security mitigation, 341 // Emergency "off switch" for new Windows sandbox security mitigation,
342 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 342 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
343 const base::Feature kWinSboxDisableExtensionPoints{ 343 const base::Feature kWinSboxDisableExtensionPoints{
344 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 344 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
345 #endif 345 #endif
346 346
347 } // namespace features 347 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698