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

Unified Diff: chrome/browser/extensions/api/recovery_private/write_from_url_operation.h

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: chrome/browser/extensions/api/recovery_private/write_from_url_operation.h
diff --git a/chrome/browser/extensions/api/recovery_private/write_from_url_operation.h b/chrome/browser/extensions/api/recovery_private/write_from_url_operation.h
index dd66646f391f5e848709a130987110dce74d3a1f..745000894cca73b427b8abad42257b997dc80668 100644
--- a/chrome/browser/extensions/api/recovery_private/write_from_url_operation.h
+++ b/chrome/browser/extensions/api/recovery_private/write_from_url_operation.h
@@ -7,8 +7,8 @@
#include "base/scoped_observer.h"
#include "chrome/browser/extensions/api/recovery_private/recovery_operation.h"
+#include "content/public/browser/download_interrupt_reasons.h"
#include "content/public/browser/download_item.h"
-#include "net/base/net_errors.h"
#include "url/gurl.h"
namespace content {
@@ -40,7 +40,8 @@ class WriteFromUrlOperation : public RecoveryOperation,
void CreateTempFile();
void DownloadStart();
- void OnDownloadStarted(content::DownloadItem*, net::Error);
+ void OnDownloadStarted(content::DownloadItem*,
+ content::DownloadInterruptReason interrupt_reason);
virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE;
void DownloadComplete();

Powered by Google App Engine
This is Rietveld 408576698