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

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

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Addressed comments(alexmos@ and nasko@) 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/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 8bf4415bf4fb56a98ffdefdf5be298e794616480..c8810118fb98f6d4b9fdbbbe489666d77aa71bfa 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