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

Unified Diff: third_party/WebKit/Source/core/dom/ExecutionContext.h

Issue 1875593003: Revert of Store the list of trial tokens in OriginTrialContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/dom/ExecutionContext.h
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.h b/third_party/WebKit/Source/core/dom/ExecutionContext.h
index c767839a09e476ff16d78d90e516bf222cc05fee..7d445f9b16b2689948c174d8866828d36106ccb1 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h
@@ -53,6 +53,7 @@
class EventTarget;
class ExecutionContextTask;
class LocalDOMWindow;
+class OriginTrialContext;
class PublicURLManager;
class SecurityOrigin;
class ScriptCallStack;
@@ -156,6 +157,9 @@
void setReferrerPolicy(ReferrerPolicy);
ReferrerPolicy getReferrerPolicy() const { return m_referrerPolicy; }
+ // Override to enable experimental features through origin trials
+ virtual RawPtr<OriginTrialContext> createOriginTrialContext();
+
protected:
ExecutionContext();
virtual ~ExecutionContext();
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/ExecutionContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698