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

Unified Diff: components/variations/variations_http_header_provider.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/variations/variations_http_header_provider.h
diff --git a/components/variations/variations_http_header_provider.h b/components/variations/variations_http_header_provider.h
index b92daca3a549a66626793d67aeca3a0a2012ed33..32aea0c5127b7c76737b019a10baa8dbc11d26ca 100644
--- a/components/variations/variations_http_header_provider.h
+++ b/components/variations/variations_http_header_provider.h
@@ -42,11 +42,11 @@ class VariationsHttpHeaderProvider : public base::FieldTrialList::Observer,
std::string GetVariationsString();
// Sets *additional* variation ids and trigger variation ids to be encoded in
- // the X-Client-Data request header. This is intended for development use to
- // force a server side experiment id. |variation_ids| should be a
- // comma-separated string of numeric experiment ids. If an id is prefixed
- // with "t" it will be treated as a trigger experiment id.
- bool SetDefaultVariationIds(const std::string& variation_ids);
+ // the X-Client-Data request header. This is intended for development use to
+ // force a server side experiment id. |variation_ids| should be a list of
+ // strings of numeric experiment ids. If an id is prefixed with "t" it will
+ // be treated as a trigger experiment id.
+ bool SetDefaultVariationIds(const std::vector<std::string>& variation_ids);
// Resets any cached state for tests.
void ResetForTesting();

Powered by Google App Engine
This is Rietveld 408576698