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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.cpp

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/core/loader/EmptyClients.cpp
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.cpp b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
index b3bd6352f92845bef4ef3f138eafb83e0f2fe933..e2b9fdb0d201f7931ab754e2e1a3b7fdc72e907c 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.cpp
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
@@ -134,7 +134,8 @@ NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation(
NavigationPolicy,
bool,
bool,
- HTMLFormElement*) {
+ HTMLFormElement*,
+ ContentSecurityPolicyDisposition) {
return NavigationPolicyIgnore;
}

Powered by Google App Engine
This is Rietveld 408576698