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

Unified Diff: content/browser/download/drag_download_file.cc

Issue 9570005: Added callback to DownloadUrl() so we can find download failures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with trunk Created 8 years, 9 months 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: content/browser/download/drag_download_file.cc
diff --git a/content/browser/download/drag_download_file.cc b/content/browser/download/drag_download_file.cc
index f7dc101cde6a12c2e8e745224358a087f5c1e6cd..d7b3c7932ffc16e519225ae09c3dcc55c8164d5b 100644
--- a/content/browser/download/drag_download_file.cc
+++ b/content/browser/download/drag_download_file.cc
@@ -141,7 +141,8 @@ void DragDownloadFile::InitiateDownload() {
false,
-1,
save_info,
- web_contents_);
+ web_contents_,
+ DownloadManager::OnStartedCallback());
}
void DragDownloadFile::DownloadCompleted(bool is_successful) {
« no previous file with comments | « content/browser/download/download_resource_handler.cc ('k') | content/browser/renderer_host/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698