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

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 and Lei's comments 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
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..ec192d9212776333093edf138f563e7aa7056112 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 an empty string
+ // if you do not need to set any variation_id for this feature variation.
+ std::string variation_id;
};
// The internal name of the feature entry. This is never shown to the user.

Powered by Google App Engine
This is Rietveld 408576698