summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/native/aw_web_contents_delegate.cc5
-rw-r--r--android_webview/native/aw_web_contents_delegate.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc
index e08a65f..ef93550 100644
--- a/android_webview/native/aw_web_contents_delegate.cc
+++ b/android_webview/native/aw_web_contents_delegate.cc
@@ -61,11 +61,6 @@ bool AwWebContentsDelegate::CanDownload(content::RenderViewHost* source,
return false;
}
-void AwWebContentsDelegate::OnStartDownload(WebContents* source,
- content::DownloadItem* download) {
- NOTREACHED(); // Downloads are cancelled in ResourceDispatcherHostDelegate.
-}
-
void AwWebContentsDelegate::AddNewContents(content::WebContents* source,
content::WebContents* new_contents,
WindowOpenDisposition disposition,
diff --git a/android_webview/native/aw_web_contents_delegate.h b/android_webview/native/aw_web_contents_delegate.h
index 97b4fef..500097e 100644
--- a/android_webview/native/aw_web_contents_delegate.h
+++ b/android_webview/native/aw_web_contents_delegate.h
@@ -30,8 +30,6 @@ class AwWebContentsDelegate
virtual bool CanDownload(content::RenderViewHost* source,
int request_id,
const std::string& request_method) OVERRIDE;
- virtual void OnStartDownload(content::WebContents* source,
- content::DownloadItem* download) OVERRIDE;
virtual void AddNewContents(content::WebContents* source,
content::WebContents* new_contents,
WindowOpenDisposition disposition,