Index: third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h |
diff --git a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h |
index a2a08e540803088c869519a350ecdd2e29ed0262..48a7ec5ab3a75ce8fc3d1c8a5be3a404e12b8584 100644 |
--- a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h |
+++ b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h |
@@ -50,6 +50,7 @@ class SecurityPolicyViolationEvent final : public Event { |
const String& originalPolicy() const { return m_originalPolicy; } |
const String& disposition() const; |
const String& sourceFile() const { return m_sourceFile; } |
+ const String& sample() const { return m_sample; } |
int lineNumber() const { return m_lineNumber; } |
int columnNumber() const { return m_columnNumber; } |
uint16_t statusCode() const { return m_statusCode; } |
@@ -73,6 +74,7 @@ class SecurityPolicyViolationEvent final : public Event { |
String m_originalPolicy; |
ContentSecurityPolicyHeaderType m_disposition; |
String m_sourceFile; |
+ String m_sample; |
int m_lineNumber; |
int m_columnNumber; |
int m_statusCode; |