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

Unified Diff: components/flags_ui/feature_entry.h

Issue 2182553002: Add other variations (with ids) for NTPSnippets to chrome://flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alexei's comment #5 + fix a bug Created 4 years, 5 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/browser/chrome_browser_main.cc ('k') | components/flags_ui/flags_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/flags_ui/feature_entry.h
diff --git a/components/flags_ui/feature_entry.h b/components/flags_ui/feature_entry.h
index 5c44bc3334f3e16e236faae040cc7042e42aa565..8bf57b8d3f1a23ec76ffdb58290a5ede90658fc6 100644
--- a/components/flags_ui/feature_entry.h
+++ b/components/flags_ui/feature_entry.h
@@ -99,6 +99,10 @@ struct FeatureEntry {
const char* description_text;
const FeatureParam* params;
int num_params;
+ // A variation id number in the format of
+ // VariationsHttpHeaderProvider::SetDefaultVariationIds or nullptr
+ // if you do not need to set any variation_id for this feature variation.
+ const char* variation_id;
};
// The internal name of the feature entry. This is never shown to the user.
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | components/flags_ui/flags_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698