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

Unified Diff: components/flags_ui/feature_entry_macros.h

Issue 2707013002: [chrome://flags] Let features override params in the same trial (Closed)
Patch Set: Created 3 years, 10 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
Index: components/flags_ui/feature_entry_macros.h
diff --git a/components/flags_ui/feature_entry_macros.h b/components/flags_ui/feature_entry_macros.h
index f83ce31252f17330129056e68c4a160613585759..b7e5d52599d71878ffbea60f441a9f5fe5dfe684 100644
--- a/components/flags_ui/feature_entry_macros.h
+++ b/components/flags_ui/feature_entry_macros.h
@@ -37,5 +37,10 @@
flags_ui::FeatureEntry::FEATURE_WITH_VARIATIONS_VALUE, nullptr, nullptr, \
nullptr, nullptr, &feature, 3 + arraysize(feature_variations), nullptr, \
feature_variations, feature_trial
+#define FEATURE_WITH_VARIATIONS_VALUE_TYPE_WITH_DEFAULT_TRIAL( \
+ feature, feature_variations) \
+ flags_ui::FeatureEntry::FEATURE_WITH_VARIATIONS_VALUE, nullptr, nullptr, \
+ nullptr, nullptr, &feature, 3 + arraysize(feature_variations), nullptr, \
+ feature_variations, nullptr
#endif // COMPONENTS_FLAGS_UI_FEATURE_ENTRY_MACROS_H_

Powered by Google App Engine
This is Rietveld 408576698