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

Unified Diff: third_party/WebKit/Source/core/css/StyleRuleImport.h

Issue 2780533002: Use Referrer-Policy headers for CSS stylesheets (Closed)
Patch Set: updates Created 3 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/css/StyleRuleImport.h
diff --git a/third_party/WebKit/Source/core/css/StyleRuleImport.h b/third_party/WebKit/Source/core/css/StyleRuleImport.h
index 7ddc61e39526d23e56cc52377cb1190e08466125..63b92a0dd13d671100caf279f7d1e035e466e443 100644
--- a/third_party/WebKit/Source/core/css/StyleRuleImport.h
+++ b/third_party/WebKit/Source/core/css/StyleRuleImport.h
@@ -73,9 +73,11 @@ class StyleRuleImport : public StyleRuleBase {
~ImportedStyleSheetClient() override {}
void setCSSStyleSheet(const String& href,
const KURL& baseURL,
+ ReferrerPolicy referrerPolicy,
const String& charset,
const CSSStyleSheetResource* sheet) override {
- m_ownerRule->setCSSStyleSheet(href, baseURL, charset, sheet);
+ m_ownerRule->setCSSStyleSheet(href, baseURL, referrerPolicy, charset,
+ sheet);
}
String debugName() const override { return "ImportedStyleSheetClient"; }
@@ -90,6 +92,7 @@ class StyleRuleImport : public StyleRuleBase {
void setCSSStyleSheet(const String& href,
const KURL& baseURL,
+ ReferrerPolicy,
const String& charset,
const CSSStyleSheetResource*);

Powered by Google App Engine
This is Rietveld 408576698