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

Unified Diff: chrome/browser/android/chrome_web_contents_delegate_android.cc

Issue 11640007: Make the UI an observer of downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/android/chrome_web_contents_delegate_android.cc
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.cc b/chrome/browser/android/chrome_web_contents_delegate_android.cc
index 7ce880dfd7a2fff53b9e309a38c92a618d59ea55..d9ab7f72b85922c770e694d41e0051a07a598f60 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.cc
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.cc
@@ -250,12 +250,5 @@ bool ChromeWebContentsDelegateAndroid::CanDownload(
return true;
}
-void ChromeWebContentsDelegateAndroid::OnStartDownload(
- WebContents* source,
- content::DownloadItem* download) {
- content::DownloadControllerAndroid::Get()->OnPostDownloadStarted(
- source, download);
-}
-
} // namespace android
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698