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

Unified Diff: components/variations/net/variations_http_header_provider.h

Issue 666973003: [ServiceWorker] Don't send the UMA related headers to the ServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use set Created 6 years, 2 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/net/variations_http_header_provider.h
diff --git a/components/variations/net/variations_http_header_provider.h b/components/variations/net/variations_http_header_provider.h
index a0e30461c54ef69dfd16df2361cdf1dbcecf5e9c..a527027fe4080328aa2fa935dcda1c5bdd58d4ab 100644
--- a/components/variations/net/variations_http_header_provider.h
+++ b/components/variations/net/variations_http_header_provider.h
@@ -51,6 +51,9 @@ class VariationsHttpHeaderProvider : base::FieldTrialList::Observer {
// with "t" it will be treated as a trigger experiment id.
bool SetDefaultVariationIds(const std::string& variation_ids);
+ // Returns the HTTP header names which are added in this class.
+ std::set<std::string> GetVariationHeaderNames() const;
+
private:
friend struct DefaultSingletonTraits<VariationsHttpHeaderProvider>;

Powered by Google App Engine
This is Rietveld 408576698