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

Unified Diff: chrome/browser/extensions/api/downloads/downloads_api.h

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
Index: chrome/browser/extensions/api/downloads/downloads_api.h
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.h b/chrome/browser/extensions/api/downloads/downloads_api.h
index 6a9fee9062f3ef35e6643286991aeac6d497b967..e6bb1379861ceb4775546f45e7e4e39c0f9ad925 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api.h
+++ b/chrome/browser/extensions/api/downloads/downloads_api.h
@@ -95,12 +95,11 @@ class DownloadsDownloadFunction : public ChromeAsyncExtensionFunction {
virtual ~DownloadsDownloadFunction();
private:
- void OnStarted(
- const base::FilePath& creator_suggested_filename,
- extensions::api::downloads::FilenameConflictAction
- creator_conflict_action,
- content::DownloadItem* item,
- net::Error error);
+ void OnStarted(const base::FilePath& creator_suggested_filename,
+ extensions::api::downloads::FilenameConflictAction
+ creator_conflict_action,
+ content::DownloadItem* item,
+ content::DownloadInterruptReason interrupt_reason);
DISALLOW_COPY_AND_ASSIGN(DownloadsDownloadFunction);
};
« no previous file with comments | « chrome/browser/download/download_item_model_unittest.cc ('k') | chrome/browser/extensions/api/downloads/downloads_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698