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 230b7887552c8b10007d0f8474792678a9fc7e51..a5dd3f3242793f2d38b9cf87483ea7e07754401d 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; |
} |