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

Unified Diff: chrome/browser/automation/automation_provider.cc

Issue 3127008: Preliminary work on resuming downloads whose connections have expired.
Patch Set: Waiting to send download automation error message until after other downloads are canceled. Created 10 years, 3 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/automation/automation_provider.cc
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index a7a59ad103ab18dcca5ee496a5c7a34e76646e5c..9485ba723a08c5585e2a1833f044047a3e48dbd7 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -263,6 +263,7 @@ DictionaryValue* AutomationProvider::GetDictionaryFromDownloadItem(
state_to_string[DownloadItem::IN_PROGRESS] = std::string("IN_PROGRESS");
state_to_string[DownloadItem::CANCELLED] = std::string("CANCELLED");
state_to_string[DownloadItem::REMOVING] = std::string("REMOVING");
+ state_to_string[DownloadItem::INTERRUPTED] = std::string("INTERRUPTED");
state_to_string[DownloadItem::COMPLETE] = std::string("COMPLETE");
std::map<DownloadItem::SafetyState, std::string> safety_state_to_string;

Powered by Google App Engine
This is Rietveld 408576698