summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_delegate.h')
-rw-r--r--chrome/browser/tab_contents/tab_contents_delegate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h
index 5f084ed..f5fdfcf 100644
--- a/chrome/browser/tab_contents/tab_contents_delegate.h
+++ b/chrome/browser/tab_contents/tab_contents_delegate.h
@@ -186,6 +186,10 @@ class TabContentsDelegate {
return 0;
}
+ virtual bool CanDownload(int request_id) {
+ return true;
+ }
+
virtual void OnStartDownload(DownloadItem* download) {
}