summaryrefslogtreecommitdiffstats
path: root/chromium/content/browser/download/drag_download_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/download/drag_download_util.h')
-rw-r--r--chromium/content/browser/download/drag_download_util.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/chromium/content/browser/download/drag_download_util.h b/chromium/content/browser/download/drag_download_util.h
index ca266efa622..76b4e61068c 100644
--- a/chromium/content/browser/download/drag_download_util.h
+++ b/chromium/content/browser/download/drag_download_util.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_DOWNLOAD_DRAG_DOWNLOAD_UTIL_H_
#include "base/basictypes.h"
+#include "base/files/file.h"
#include "base/memory/ref_counted.h"
#include "base/strings/string16.h"
#include "content/browser/download/drag_download_file.h"
@@ -17,10 +18,6 @@ namespace base {
class FilePath;
}
-namespace net {
-class FileStream;
-}
-
namespace content {
// Parse the download metadata set in DataTransfer.setData. The metadata
@@ -39,10 +36,8 @@ bool ParseDownloadMetadata(const base::string16& metadata,
// Create a new file at the specified path. If the file already exists, try to
// insert the sequential unifier to produce a new file, like foo-01.txt.
-// Return a FileStream if successful.
-// |net_log| is a NetLog for the stream.
-CONTENT_EXPORT net::FileStream* CreateFileStreamForDrop(
- base::FilePath* file_path, net::NetLog* net_log);
+// Return a File if successful.
+CONTENT_EXPORT base::File CreateFileForDrop(base::FilePath* file_path);
// Implementation of DownloadFileObserver to finalize the download process.
class PromiseFileFinalizer : public ui::DownloadFileObserver {