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

Unified Diff: content/common/navigation_params.cc

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/navigation_params.h ('k') | content/public/browser/navigation_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index 394e8f364286bf955accf45f8275781deba78d53..33ce95e61b3285dbfa59200602e5134b9f1ac839 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -43,8 +43,7 @@
report_type(FrameMsg_UILoadMetricsReportType::NO_REPORT),
previews_state(PREVIEWS_UNSPECIFIED),
navigation_start(base::TimeTicks::Now()),
- method("GET"),
- should_check_main_world_csp(CSPDisposition::CHECK) {}
+ method("GET") {}
CommonNavigationParams::CommonNavigationParams(
const GURL& url,
@@ -61,8 +60,7 @@
const base::TimeTicks& navigation_start,
std::string method,
const scoped_refptr<ResourceRequestBodyImpl>& post_data,
- base::Optional<SourceLocation> source_location,
- CSPDisposition should_check_main_world_csp)
+ base::Optional<SourceLocation> source_location)
: url(url),
referrer(referrer),
transition(transition),
@@ -77,8 +75,7 @@
navigation_start(navigation_start),
method(method),
post_data(post_data),
- source_location(source_location),
- should_check_main_world_csp(should_check_main_world_csp) {
+ source_location(source_location) {
// |method != "POST"| should imply absence of |post_data|.
if (method != "POST" && post_data) {
NOTREACHED();
« no previous file with comments | « content/common/navigation_params.h ('k') | content/public/browser/navigation_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698