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

Unified Diff: Source/core/html/parser/CSSPreloadScanner.h

Issue 1235563004: Apply meta tag referrer policy for preloaded requests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style fix Created 5 years, 5 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/parser/CSSPreloadScanner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/CSSPreloadScanner.h
diff --git a/Source/core/html/parser/CSSPreloadScanner.h b/Source/core/html/parser/CSSPreloadScanner.h
index f10004057bfc74b7b4fa8b6d333634b2a627436a..de9f9bfee76e2edf964523076a2c985d31d1a7c4 100644
--- a/Source/core/html/parser/CSSPreloadScanner.h
+++ b/Source/core/html/parser/CSSPreloadScanner.h
@@ -46,6 +46,8 @@ public:
void scan(const HTMLToken::DataVector&, const SegmentedString&, PreloadRequestStream&);
void scan(const String&, const SegmentedString&, PreloadRequestStream&);
+ void setReferrerPolicy(const ReferrerPolicy);
+
private:
enum State {
Initial,
@@ -72,6 +74,8 @@ private:
// Only non-zero during scan()
PreloadRequestStream* m_requests;
+
+ ReferrerPolicy m_referrerPolicy;
};
}
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/parser/CSSPreloadScanner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698