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

Unified Diff: chrome/browser/about_flags.cc

Issue 2804633003: Add base::FeatureParam<> struct (Closed)
Patch Set: rebase Created 3 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
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index de1ba294a5670102acd6f0c9aff947e75a17ac14..6407ae1823a70ab217a1cee628a6428adc50f1dd 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -665,13 +665,13 @@ const FeatureEntry::Choice kAshUiModeChoices[] = {
#if defined(OS_ANDROID)
const FeatureEntry::FeatureParam
kContentSuggestionsCategoryOrderFeatureVariationGeneral[] = {
- {ntp_snippets::kCategoryOrderParameter,
+ {ntp_snippets::kCategoryOrderParameter.name,
ntp_snippets::kCategoryOrderGeneral},
};
const FeatureEntry::FeatureParam
kContentSuggestionsCategoryOrderFeatureVariationEMOriented[] = {
- {ntp_snippets::kCategoryOrderParameter,
+ {ntp_snippets::kCategoryOrderParameter.name,
ntp_snippets::kCategoryOrderEmergingMarketsOriented},
};
@@ -687,13 +687,13 @@ const FeatureEntry::FeatureVariation
const FeatureEntry::FeatureParam
kContentSuggestionsCategoryRankerFeatureVariationConstant[] = {
- {ntp_snippets::kCategoryRankerParameter,
+ {ntp_snippets::kCategoryRankerParameter.name,
ntp_snippets::kCategoryRankerConstantRanker},
};
const FeatureEntry::FeatureParam
kContentSuggestionsCategoryRankerFeatureVariationClickBased[] = {
- {ntp_snippets::kCategoryRankerParameter,
+ {ntp_snippets::kCategoryRankerParameter.name,
ntp_snippets::kCategoryRankerClickBasedRanker},
};

Powered by Google App Engine
This is Rietveld 408576698