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

Unified Diff: third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.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/platform/WebContentSecurityPolicyStruct.h
diff --git a/third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h b/third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h
index e91858e3f85cad6af14a8f1792ec8d2b7ab622f4..2e1d0bd5caa30547f65f69e5a1f03b2cf27ddddc 100644
--- a/third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h
+++ b/third_party/WebKit/public/platform/WebContentSecurityPolicyStruct.h
@@ -33,7 +33,6 @@
#include "public/platform/WebContentSecurityPolicy.h"
#include "public/platform/WebString.h"
-#include "public/platform/WebURL.h"
#include "public/platform/WebVector.h"
namespace blink {
@@ -71,35 +70,6 @@
WebString header;
};
-struct WebContentSecurityPolicyViolation {
- // The name of the directive that violates the policy. |directive| might be a
- // directive that serves as a fallback to the |effective_directive|.
- WebString directive;
-
- // The name the effective directive that was checked against.
- WebString effectiveDirective;
-
- // The console message to be displayed to the user.
- WebString consoleMessage;
-
- // The URL that was blocked by the policy.
- WebURL blockedUrl;
-
- // The set of URI where a JSON-formatted report of the violation should be
- // sent.
- WebVector<WebString> reportEndpoints;
-
- // The raw content security policy header that was infringed.
- WebString header;
-
- // Each policy has an associated disposition, which is either "enforce" or
- // "report".
- WebContentSecurityPolicyType disposition;
-
- // Whether or not the violation happens after a redirect.
- bool afterRedirect;
-};
-
} // namespace blink
#endif
« no previous file with comments | « third_party/WebKit/public/platform/WebContentSecurityPolicy.h ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698