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

Unified Diff: chrome/browser/renderer_host/render_view_host_manager.h

Issue 150122: Fix to allow browser close after download initiated from chrome:// url (Closed)
Patch Set: Created 11 years, 6 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: chrome/browser/renderer_host/render_view_host_manager.h
diff --git a/chrome/browser/renderer_host/render_view_host_manager.h b/chrome/browser/renderer_host/render_view_host_manager.h
index 0cc1504488c4b310667dd4128cceb6f7678045c4..7e2a1261fe916a9accd7eea50e5c6b244c8c827f 100644
--- a/chrome/browser/renderer_host/render_view_host_manager.h
+++ b/chrome/browser/renderer_host/render_view_host_manager.h
@@ -244,6 +244,10 @@ class RenderViewHostManager : public NotificationObserver {
RenderViewHost* pending_render_view_host_;
scoped_ptr<DOMUI> pending_dom_ui_;
+ // Records whether the navigation was cancelled, but we are leaving the
+ // pending_render_view_host_ around in consideration of the download system.
+ bool pending_renderer_aborted_;
+
// The intersitial page currently shown if any, not own by this class
// (the InterstitialPage is self-owned, it deletes itself when hidden).
InterstitialPage* interstitial_page_;

Powered by Google App Engine
This is Rietveld 408576698