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

Unified Diff: chrome/browser/extensions/extension_host.h

Issue 10412061: Fix crashes in DownloadRequestLimiter when extension popups/bubbles initiate downloads automatically (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 8 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: chrome/browser/extensions/extension_host.h
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
index 56d5816419a99abb51cd443ea8d191926822d4c1..09e53ee7259fa26707ee3a6ee16a5ab00c18f453 100644
--- a/chrome/browser/extensions/extension_host.h
+++ b/chrome/browser/extensions/extension_host.h
@@ -35,6 +35,7 @@ class ExtensionWindowController;
class PrefsTabHelper;
namespace content {
+class DownloadItem;
class RenderProcessHost;
class RenderWidgetHostView;
class SiteInstance;
@@ -163,6 +164,9 @@ class ExtensionHost : public content::WebContentsDelegate,
const gfx::Rect& initial_pos,
bool user_gesture) OVERRIDE;
virtual void CloseContents(content::WebContents* contents) OVERRIDE;
+ virtual void OnStartDownload(
+ content::WebContents* source,
+ content::DownloadItem* download) OVERRIDE;
// content::NotificationObserver
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698