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

Unified Diff: content/common/frame_messages.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
« no previous file with comments | « content/common/content_security_policy/csp_source_list.cc ('k') | content/common/navigation_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index d5c33482d88e38ac0213b843c570a1be040a4e26..404ce37105888918a47715037125b59096e48956 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -19,7 +19,7 @@
#include "cc/surfaces/surface_sequence.h"
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
-#include "content/common/content_security_policy/csp_context.h"
+#include "content/common/content_security_policy/content_security_policy.h"
#include "content/common/content_security_policy_header.h"
#include "content/common/download/mhtml_save_status.h"
#include "content/common/features.h"
@@ -113,8 +113,6 @@
content::CSPDirective::NameLast)
IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFeaturePolicyFeature,
blink::WebFeaturePolicyFeature::LAST_FEATURE)
-IPC_ENUM_TRAITS_MAX_VALUE(content::CSPDisposition,
- content::CSPDisposition::LAST)
IPC_STRUCT_TRAITS_BEGIN(blink::WebFindOptions)
IPC_STRUCT_TRAITS_MEMBER(forward)
@@ -357,7 +355,6 @@
IPC_STRUCT_TRAITS_MEMBER(method)
IPC_STRUCT_TRAITS_MEMBER(post_data)
IPC_STRUCT_TRAITS_MEMBER(source_location)
- IPC_STRUCT_TRAITS_MEMBER(should_check_main_world_csp)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
@@ -582,17 +579,6 @@
IPC_STRUCT_TRAITS_MEMBER(source)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(content::CSPViolationParams)
- IPC_STRUCT_TRAITS_MEMBER(directive)
- IPC_STRUCT_TRAITS_MEMBER(effective_directive)
- IPC_STRUCT_TRAITS_MEMBER(console_message)
- IPC_STRUCT_TRAITS_MEMBER(blocked_url)
- IPC_STRUCT_TRAITS_MEMBER(report_endpoints)
- IPC_STRUCT_TRAITS_MEMBER(header)
- IPC_STRUCT_TRAITS_MEMBER(disposition)
- IPC_STRUCT_TRAITS_MEMBER(after_redirect)
-IPC_STRUCT_TRAITS_END()
-
IPC_STRUCT_TRAITS_BEGIN(content::FileChooserFileInfo)
IPC_STRUCT_TRAITS_MEMBER(file_path)
IPC_STRUCT_TRAITS_MEMBER(display_name)
@@ -912,12 +898,6 @@
content::RequestNavigationParams, /* request_params */
bool, /* stale_copy_in_cache */
int /* error_code */)
-
-// PlzNavigate
-// Tells the renderer that a navigation was blocked because a content security
-// policy was violated.
-IPC_MESSAGE_ROUTED1(FrameMsg_ReportContentSecurityPolicyViolation,
- content::CSPViolationParams /* violation_params */)
// Request to enumerate and return links to all savable resources in the frame
// Note: this covers only the immediate frame / doesn't cover subframes.
« no previous file with comments | « content/common/content_security_policy/csp_source_list.cc ('k') | content/common/navigation_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698