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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerBase.h

Issue 2086143006: Implement Referrer-Policy header for workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shared worker path Created 4 years, 6 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/workers/InProcessWorkerBase.h
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
index a7dc13ad2e3aceb539ee28fa3ff7e9e4e54ebda1..f9d3a32dc748431443ad47e99cc52d59fe58cc5c 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
@@ -42,6 +42,8 @@ public:
ContentSecurityPolicy* contentSecurityPolicy();
+ String referrerPolicy();
+
DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
DECLARE_VIRTUAL_TRACE();
@@ -61,6 +63,7 @@ private:
RefPtr<WorkerScriptLoader> m_scriptLoader;
Member<ContentSecurityPolicy> m_contentSecurityPolicy;
+ String m_referrerPolicy;
InProcessWorkerGlobalScopeProxy* m_contextProxy; // The proxy outlives the worker to perform thread shutdown.
};

Powered by Google App Engine
This is Rietveld 408576698