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

Unified Diff: content/common/content_security_policy/csp_policy.h

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Add TODO in the FrameLoader. 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: content/common/content_security_policy/csp_policy.h
diff --git a/content/common/content_security_policy/csp_policy.h b/content/common/content_security_policy/csp_policy.h
index b512dad3581b81a1ece23d67a8177c62545e0e6f..176ce7f08fa655f16310e9e83f50cccc6d5a5fd1 100644
--- a/content/common/content_security_policy/csp_policy.h
+++ b/content/common/content_security_policy/csp_policy.h
@@ -55,7 +55,8 @@ struct CONTENT_EXPORT CSPPolicy {
void ReportViolation(CSPContext* context,
const CSPDirective::Name effective_directive,
const CSPDirective& directive,
- const GURL& url) const;
+ const GURL& url,
+ bool is_redirect) const;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698