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 7f04023ebb7e0d781678868d3227da7573bc0d5c..c33ab065741d41014a7d079620cd43c62a47f752 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 |