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

Unified Diff: Source/core/css/CSSFontFaceSrcValue.h

Issue 239353007: Set proper referrer for css resource fetching (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/css/CSSFontFaceSrcValue.cpp » ('j') | Source/core/css/CSSFontFaceSrcValue.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontFaceSrcValue.h
diff --git a/Source/core/css/CSSFontFaceSrcValue.h b/Source/core/css/CSSFontFaceSrcValue.h
index a0da46c4597880d1b1869ac484d29da89368b622..8da88de1523c226216a6ccc3e04c3e2e0fb8d8ee 100644
--- a/Source/core/css/CSSFontFaceSrcValue.h
+++ b/Source/core/css/CSSFontFaceSrcValue.h
@@ -53,6 +53,7 @@ public:
bool isLocal() const { return m_isLocal; }
void setFormat(const String& format) { m_format = format; }
+ void setReferrer(const String& referrer) { m_referrer = referrer; }
bool isSupportedFormat() const;
@@ -89,6 +90,7 @@ private:
String m_resource;
String m_format;
bool m_isLocal;
+ String m_referrer;
abarth-chromium 2014/04/17 17:44:58 Please group this with the other strings to improv
bashi 2014/04/18 10:16:59 Done.
ResourcePtr<FontResource> m_fetched;
« no previous file with comments | « no previous file | Source/core/css/CSSFontFaceSrcValue.cpp » ('j') | Source/core/css/CSSFontFaceSrcValue.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698