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

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

Issue 314893003: Set referrer for CSS resources (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/css/CSSCursorImageValue.cpp ('k') | Source/core/css/CSSFontFaceSrcValue.cpp » ('j') | no next file with comments »
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 c908d2736038bb4209f5efc353036d2cbed94481..83f26f7ee64909df7100823f5434e85107ce5bd0 100644
--- a/Source/core/css/CSSFontFaceSrcValue.h
+++ b/Source/core/css/CSSFontFaceSrcValue.h
@@ -28,6 +28,7 @@
#include "core/css/CSSValue.h"
#include "core/fetch/ResourcePtr.h"
+#include "platform/weborigin/Referrer.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
@@ -53,6 +54,7 @@ public:
bool isLocal() const { return m_isLocal; }
void setFormat(const String& format) { m_format = format; }
+ void setReferrer(const Referrer& referrer) { m_referrer = referrer; }
bool isSupportedFormat() const;
@@ -89,6 +91,7 @@ private:
String m_resource;
String m_format;
+ Referrer m_referrer;
bool m_isLocal;
ResourcePtr<FontResource> m_fetched;
« no previous file with comments | « Source/core/css/CSSCursorImageValue.cpp ('k') | Source/core/css/CSSFontFaceSrcValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698