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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/OriginTrials.h.tmpl

Issue 1802773002: Support loading trial tokens from HTTP headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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: third_party/WebKit/Source/build/scripts/templates/OriginTrials.h.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/OriginTrials.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/OriginTrials.h.tmpl
index 6c090aa59032a4d3472214265bb8f23395ccd458..db5a0f99a901822d5e618d6c46b3e96daf4277b3 100644
--- a/third_party/WebKit/Source/build/scripts/templates/OriginTrials.h.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/OriginTrials.h.tmpl
@@ -22,6 +22,7 @@ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(OriginTrials)
public:
static const char* supplementName();
static OriginTrials* from(ExecutionContext*);
+ static void setTrialTokensFromHeader(ExecutionContext*, const String& headerValue);
{% for feature in features %}
{% if feature.origin_trial_feature_name %}

Powered by Google App Engine
This is Rietveld 408576698