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

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

Issue 114193009: [Download] Return DownloadInterruptReason from OnStartedCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/common/extensions/api/downloads.idl ('k') | content/browser/download/download_item_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_interrupt_reasons_impl.cc
diff --git a/content/browser/download/download_interrupt_reasons_impl.cc b/content/browser/download/download_interrupt_reasons_impl.cc
index beb56494e877fe4acb702d67991c2739ecae53f0..9a01f484f1deb8b68f5ec72aa8c8a5991754d444 100644
--- a/content/browser/download/download_interrupt_reasons_impl.cc
+++ b/content/browser/download/download_interrupt_reasons_impl.cc
@@ -88,7 +88,7 @@ DownloadInterruptReason ConvertNetErrorToInterruptReason(
return DOWNLOAD_INTERRUPT_REASON_NONE;
}
-std::string InterruptReasonDebugString(DownloadInterruptReason error) {
+std::string DownloadInterruptReasonToString(DownloadInterruptReason error) {
#define INTERRUPT_REASON(name, value) \
case DOWNLOAD_INTERRUPT_REASON_##name: return #name;
« no previous file with comments | « chrome/common/extensions/api/downloads.idl ('k') | content/browser/download/download_item_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698