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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.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
« no previous file with comments | « chrome/browser/extensions/webstore_installer.cc ('k') | content/browser/download/download_file_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_context_menu.cc
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index 796003c158f705967566893cfabb6ee96e401dab..9dfd65ef37e472e11b949b988f1e5cf411ef0b79 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -1525,7 +1525,8 @@ void RenderViewContextMenu::ExecuteCommand(int id, int event_flags) {
false, // Don't prefer_cache
-1, // No POST id
save_info,
- source_web_contents_);
+ source_web_contents_,
+ DownloadManager::OnStartedCallback());
break;
}
@@ -1553,7 +1554,8 @@ void RenderViewContextMenu::ExecuteCommand(int id, int event_flags) {
true, // prefer_cache
post_id,
save_info,
- source_web_contents_);
+ source_web_contents_,
+ DownloadManager::OnStartedCallback());
break;
}
« no previous file with comments | « chrome/browser/extensions/webstore_installer.cc ('k') | content/browser/download/download_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698