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

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

Issue 2756913002: Revert of PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: 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 939af5ab97c228d982c6a55608006f9a95b1d8d8..009ba7f7ea06813b52eafd164babd3e317d28b9e 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -50,7 +50,6 @@
#include "public/platform/BlameContext.h"
#include "public/platform/WebColor.h"
#include "public/platform/WebCommon.h"
-#include "public/platform/WebContentSecurityPolicy.h"
#include "public/platform/WebContentSecurityPolicyStruct.h"
#include "public/platform/WebEffectiveConnectionType.h"
#include "public/platform/WebFeaturePolicy.h"
@@ -303,8 +302,6 @@
WebFormElement form;
bool isCacheDisabled;
WebSourceLocation sourceLocation;
- WebContentSecurityPolicyDisposition
- shouldCheckMainWorldContentSecurityPolicy;
NavigationPolicyInfo(WebURLRequest& urlRequest)
: extraData(nullptr),
@@ -314,9 +311,7 @@
replacesCurrentHistoryItem(false),
isHistoryNavigationInNewChildFrame(false),
isClientRedirect(false),
- isCacheDisabled(false),
- shouldCheckMainWorldContentSecurityPolicy(
- WebContentSecurityPolicyDispositionCheck) {}
+ isCacheDisabled(false) {}
};
virtual WebNavigationPolicy decidePolicyForNavigation(
« no previous file with comments | « third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698