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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Rebase. 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/core/loader/FrameLoaderClient.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
index 613354db7b3126a3c6df7672e454fd0fcbd75a73..65f5fd2095218944b4c4eae38ff6006fa2d86632 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
@@ -121,7 +121,8 @@ class CORE_EXPORT FrameLoaderClient : public FrameClient {
NavigationPolicy,
bool shouldReplaceCurrentEntry,
bool isClientRedirect,
- HTMLFormElement*) = 0;
+ HTMLFormElement*,
+ ContentSecurityPolicyDisposition shouldBypassMainWorldCSP) = 0;
alexmos 2017/02/24 06:40:28 This arg is named as if it's a bool, but it's not,
arthursonzogni 2017/02/24 16:13:30 I agree. I will use shouldCheckMainWorldContentSec
virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0;
virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0;

Powered by Google App Engine
This is Rietveld 408576698