Index: content/browser/indexed_db/indexed_db_internals_ui.cc |
diff --git a/content/browser/indexed_db/indexed_db_internals_ui.cc b/content/browser/indexed_db/indexed_db_internals_ui.cc |
index 2b60c550486fbe01739605a9c61821c04f8d9ee5..1a4046a4b005e3f539eee0429948cb4dd279d40b 100644 |
--- a/content/browser/indexed_db/indexed_db_internals_ui.cc |
+++ b/content/browser/indexed_db/indexed_db_internals_ui.cc |
@@ -338,11 +338,11 @@ void IndexedDBInternalsUI::OnDownloadStarted( |
const base::FilePath& temp_path, |
size_t connection_count, |
DownloadItem* item, |
- net::Error error) { |
+ DownloadInterruptReason interrupt_reason) { |
- if (error != net::OK) { |
- LOG(ERROR) |
- << "Error downloading database dump: " << net::ErrorToString(error); |
+ if (interrupt_reason != DOWNLOAD_INTERRUPT_REASON_NONE) { |
+ LOG(ERROR) << "Error downloading database dump: " |
+ << DownloadInterruptReasonToString(interrupt_reason); |
return; |
} |