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

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

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Addressed comments @alexmos. 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 1ef01b3e21c6b6fda69a3fb1955b8d1536fda56f..d772287199661856c79d21ed39502003b79acf30 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.h
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
@@ -73,6 +73,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 reportContentSecurityPolicyViolation(
+ 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