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

Unified Diff: third_party/WebKit/Source/core/origin_trials/OriginTrialsBase.h

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/core/origin_trials/OriginTrialsBase.h
diff --git a/third_party/WebKit/Source/core/origin_trials/OriginTrialsBase.h b/third_party/WebKit/Source/core/origin_trials/OriginTrialsBase.h
index 2042ca943f3fc0e9cfbfdd1ea8575fe45720be46..b79379e9801f5f000806d978a4bb0ba490c08067 100644
--- a/third_party/WebKit/Source/core/origin_trials/OriginTrialsBase.h
+++ b/third_party/WebKit/Source/core/origin_trials/OriginTrialsBase.h
@@ -21,6 +21,7 @@ public:
virtual ~OriginTrialsBase();
void addToken(const String& token);
+ void loadTokensFromHeader(const String& headerValue);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698