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

Unified Diff: chrome/browser/download/download_shelf_context_menu.cc

Issue 1087843004: [Download Notification] Refine retry logic when interrupted or cancelled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove RETRY and use RESUME instead Created 5 years, 7 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: chrome/browser/download/download_shelf_context_menu.cc
diff --git a/chrome/browser/download/download_shelf_context_menu.cc b/chrome/browser/download/download_shelf_context_menu.cc
index 275050d099378d819da04484eec38788a197adfc..ab4836219d39ae0f4c13b692c9fe8ee0edeb0734 100644
--- a/chrome/browser/download/download_shelf_context_menu.cc
+++ b/chrome/browser/download/download_shelf_context_menu.cc
@@ -165,9 +165,6 @@ base::string16 DownloadShelfContextMenu::GetLabelForCommandId(
case DownloadCommands::LEARN_MORE_INTERRUPTED:
id = IDS_DOWNLOAD_MENU_LEARN_MORE_INTERRUPTED;
break;
- case DownloadCommands::RETRY:
- NOTREACHED();
- return base::string16();
}
CHECK(id != -1);
return l10n_util::GetStringUTF16(id);
« no previous file with comments | « chrome/browser/download/download_commands.cc ('k') | chrome/browser/download/notification/download_notification_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698