Add low priority iframes experiment in about:flags
BUG=516903
Review URL: https://codereview.chromium.org/1268233002
Cr-Commit-Position: refs/heads/master@{#342054}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 967ab839..a2e589e 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2108,6 +2108,15 @@
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOfflinePages,
switches::kDisableOfflinePages)},
#endif // defined(OS_ANDROID)
+ {"low-priority-iframes",
+ IDS_FLAGS_LOW_PRIORITY_IFRAMES_UI_NAME,
+ IDS_FLAGS_LOW_PRIORITY_IFRAMES_UI_DESCRIPTION,
+ kOsAll,
+ // NOTE: if we want to add additional experiment entries for other
+ // features controlled by kBlinkSettings, we'll need to add logic to
+ // merge the flag values.
+ SINGLE_VALUE_TYPE_AND_VALUE(
+ switches::kBlinkSettings, "lowPriorityIframes=true")},
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in