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

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

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Cleanup 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
Index: content/browser/frame_host/navigation_handle_impl.h
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
index 8552ad4d8853fc7ed713a8412b4f0651d41fbd9c..277ff97c6bc8022fa064691db47af950798b0450 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -130,6 +130,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
RenderFrameHostImpl* GetRenderFrameHost() override;
bool IsSameDocument() override;
bool HasCommitted() override;
+ bool IsDownload() override;
bool IsErrorPage() override;
bool DidReplaceEntry() override;
bool ShouldUpdateHistory() override;

Powered by Google App Engine
This is Rietveld 408576698