summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/chrome_web_contents_delegate_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/android/chrome_web_contents_delegate_android.h')
-rw-r--r--chrome/browser/android/chrome_web_contents_delegate_android.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.h b/chrome/browser/android/chrome_web_contents_delegate_android.h
index 867db32..94ee39f 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.h
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.h
@@ -54,9 +54,10 @@ class ChromeWebContentsDelegateAndroid
const gfx::RectF& active_rect) OVERRIDE;
virtual content::JavaScriptDialogManager*
GetJavaScriptDialogManager() OVERRIDE;
- virtual bool CanDownload(content::RenderViewHost* source,
+ virtual void CanDownload(content::RenderViewHost* source,
int request_id,
- const std::string& request_method) OVERRIDE;
+ const std::string& request_method,
+ const base::Callback<void(bool)>& callback) OVERRIDE;
virtual void DidNavigateToPendingEntry(content::WebContents* source) OVERRIDE;
virtual void DidNavigateMainFramePostCommit(
content::WebContents* source) OVERRIDE;