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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2869423002: PlzNavigate: Do not disclose urls between cross-origin renderers. (Closed)
Patch Set: alexmos@ suggestions. Created 3 years, 7 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/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 748567856514dce3ac0c095a1403bfc4af6b2f7d..2654b9c3f2bc5e01534681fc017b00578c154c89 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -218,6 +218,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
void ReportContentSecurityPolicyViolation(
const CSPViolationParams& violation_params) override;
bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override;
+ bool ShouldProtectDataInCspViolation(
+ const url::Origin& origin) const override;
// Creates a RenderFrame in the renderer process.
bool CreateRenderFrame(int proxy_routing_id,

Powered by Google App Engine
This is Rietveld 408576698