Index: third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h |
diff --git a/third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h b/third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h |
index e91858e3f85cad6af14a8f1792ec8d2b7ab622f4..4a8fc8c9a28836dc883f3d16ce11fe432211d4df 100644 |
--- a/third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h |
+++ b/third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h |
@@ -32,6 +32,7 @@ |
#define WebContentSecurityPolicyStruct_h |
#include "public/platform/WebContentSecurityPolicy.h" |
+#include "public/platform/WebSourceLocation.h" |
#include "public/platform/WebString.h" |
#include "public/platform/WebURL.h" |
#include "public/platform/WebVector.h" |
@@ -98,6 +99,9 @@ struct WebContentSecurityPolicyViolation { |
// Whether or not the violation happens after a redirect. |
bool afterRedirect; |
+ |
+ // The source code location that triggered the blocked navigation. |
+ WebSourceLocation sourceLocation; |
}; |
} // namespace blink |