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

Unified Diff: chrome/browser/about_flags.cc

Issue 2248083002: [Feature Policy] Add command-line flag and about://flags interface for Feature Policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index c4f00493aff4ab0386b8e13deb61d96ad6a7b896..bc3ac91d83d775203e192d9fb7c5bc2ed80ea94f 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2074,6 +2074,9 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_ENABLE_WEBAPK_DESCRIPTION, kOsAndroid,
SINGLE_VALUE_TYPE(switches::kEnableWebApk)},
#endif
+ {"enable-feature-policy", IDS_FLAGS_FEATURE_POLICY_NAME,
+ IDS_FLAGS_FEATURE_POLICY_DESCRIPTION, kOsAll,
+ FEATURE_VALUE_TYPE(features::kFeaturePolicy)},
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698