Index: chrome/browser/extensions/extension_host.cc |
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc |
index 5c678add1ef1e0afa3ee2d4da209d7baded9c132..f159d00e3739ba34cb120a80f43d12f302abe7ce 100644 |
--- a/chrome/browser/extensions/extension_host.cc |
+++ b/chrome/browser/extensions/extension_host.cc |
@@ -413,16 +413,6 @@ void ExtensionHost::CloseContents(WebContents* contents) { |
} |
} |
-void ExtensionHost::OnStartDownload( |
- content::WebContents* source, content::DownloadItem* download) { |
- // If |source| is in the context of a Browser, show the DownloadShelf on that |
- // Browser. |
- if (!view() || !view()->browser()) |
- return; |
- static_cast<content::WebContentsDelegate*>(view()->browser())-> |
- OnStartDownload(source, download); |
-} |
- |
void ExtensionHost::WillRunJavaScriptDialog() { |
ExtensionProcessManager* pm = |
ExtensionSystem::Get(profile_)->process_manager(); |