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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Fix tests. Created 3 years, 10 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
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.h
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.h b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
index 5c8a850034753b73c6615c4d46f5ec2dbe4b9627..0ba3d7dce9a9bc8ac958ebc81acc3fe160542d6a 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.h
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
@@ -72,6 +72,7 @@ class WebView;
class WebViewImpl;
enum class WebFrameLoadType;
struct FrameLoadRequest;
+struct WebContentSecurityPolicyViolation;
struct WebPrintParams;
template <typename T>
@@ -260,6 +261,8 @@ class WEB_EXPORT WebLocalFrameImpl final
WebHistoryLoadType,
bool isClientRedirect) override;
bool maybeRenderFallbackContent(const WebURLError&) const override;
+ void contentSecurityPolicyViolation(
+ const blink::WebContentSecurityPolicyViolation&) override;
bool isLoading() const override;
bool isNavigationScheduledWithin(double interval) const override;
void setCommittedFirstRealLoad() override;

Powered by Google App Engine
This is Rietveld 408576698