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

Unified Diff: content/browser/indexed_db/indexed_db_internals_ui.cc

Issue 23496076: WIP - Refactor programmatic downloads Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: 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;
}
« no previous file with comments | « content/browser/indexed_db/indexed_db_internals_ui.h ('k') | content/browser/loader/buffered_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698