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

Unified Diff: content/browser/download/download_item_impl_delegate.h

Issue 2453633006: [downloads] Move platform specific code out of DownloadTargetDeterminer. (Closed)
Patch Set: . Created 3 years, 9 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/download/download_item_impl_delegate.h
diff --git a/content/browser/download/download_item_impl_delegate.h b/content/browser/download/download_item_impl_delegate.h
index 5c3805988749674383db474d80a135663fcd3a8f..1c16edb9d6757d814fe422ad52a2f98e32ec3b6f 100644
--- a/content/browser/download/download_item_impl_delegate.h
+++ b/content/browser/download/download_item_impl_delegate.h
@@ -7,11 +7,15 @@
#include <stdint.h>
+#include <memory>
+#include <string>
+
#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#include "content/common/content_export.h"
#include "content/public/browser/download_danger_type.h"
+#include "content/public/browser/download_interrupt_reasons.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/download_url_parameters.h"
@@ -29,8 +33,9 @@ class CONTENT_EXPORT DownloadItemImplDelegate {
const base::FilePath&, // Target path
DownloadItem::TargetDisposition, // overwrite/uniquify target
DownloadDangerType,
- const base::FilePath& // Intermediate file path
- )> DownloadTargetCallback;
+ const base::FilePath&, // Intermediate file path
+ DownloadInterruptReason)>
+ DownloadTargetCallback;
// The boolean argument indicates whether or not the download was
// actually opened.
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/download_item_impl_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698