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

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

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Addressed comments(alexmos@ and nasko@) 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 09891acb8dfcba09058394dba150b18db97b1ed5..846bf07ee928cbccb2357df9cecf44b21a36996a 100644
--- a/content/common/content_security_policy/csp_policy.h
+++ b/content/common/content_security_policy/csp_policy.h
@@ -49,7 +49,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