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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Addressed comments Created 3 years, 9 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/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 5bf558bdb55eb59a54a0fdb1fa37d2ecc475dc43..f6042aa11e2b12cade80b853e28c18a944a8962a 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -300,6 +300,7 @@ class BLINK_EXPORT WebFrameClient {
bool isClientRedirect;
WebFormElement form;
bool isCacheDisabled;
+ bool shouldBypassMainWorldCSP;
NavigationPolicyInfo(WebURLRequest& urlRequest)
: extraData(nullptr),
@@ -309,7 +310,8 @@ class BLINK_EXPORT WebFrameClient {
replacesCurrentHistoryItem(false),
isHistoryNavigationInNewChildFrame(false),
isClientRedirect(false),
- isCacheDisabled(false) {}
+ isCacheDisabled(false),
+ shouldBypassMainWorldCSP(false) {}
};
virtual WebNavigationPolicy decidePolicyForNavigation(

Powered by Google App Engine
This is Rietveld 408576698