summaryrefslogtreecommitdiff
path: root/content/browser/download/drag_download_util.h
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2013-03-28 15:31:22 +0000
committerTorne (Richard Coles) <torne@google.com>2013-03-28 15:31:22 +0000
commit2a99a7e74a7f215066514fe81d2bfa6639d9eddd (patch)
tree7c2d04841fcd599fd83b0f0bb1100e1c89a35bae /content/browser/download/drag_download_util.h
parent61c449bbbb53310a8c041d8cefdd6b01a126cc7e (diff)
downloadchromium_org-2a99a7e74a7f215066514fe81d2bfa6639d9eddd.tar.gz
Merge from Chromium at DEPS revision r190564
This commit was generated by merge_to_master.py. Change-Id: Icadecbce29854b8fa25fd335b2c1949b5ca5d170
Diffstat (limited to 'content/browser/download/drag_download_util.h')
-rw-r--r--content/browser/download/drag_download_util.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/content/browser/download/drag_download_util.h b/content/browser/download/drag_download_util.h
index c968ae4fb0..c6568c971b 100644
--- a/content/browser/download/drag_download_util.h
+++ b/content/browser/download/drag_download_util.h
@@ -11,8 +11,12 @@
#include "content/browser/download/drag_download_file.h"
#include "ui/base/dragdrop/download_file_interface.h"
-class FilePath;
class GURL;
+
+namespace base {
+class FilePath;
+}
+
namespace net {
class FileStream;
}
@@ -30,7 +34,7 @@ namespace content {
// text/plain:example.txt:http://example.com/example.txt
bool ParseDownloadMetadata(const string16& metadata,
string16* mime_type,
- FilePath* file_name,
+ base::FilePath* file_name,
GURL* url);
// Create a new file at the specified path. If the file already exists, try to
@@ -38,7 +42,7 @@ bool ParseDownloadMetadata(const string16& metadata,
// Return a FileStream if successful.
// |net_log| is a NetLog for the stream.
CONTENT_EXPORT net::FileStream* CreateFileStreamForDrop(
- FilePath* file_path, net::NetLog* net_log);
+ base::FilePath* file_path, net::NetLog* net_log);
// Implementation of DownloadFileObserver to finalize the download process.
class PromiseFileFinalizer : public ui::DownloadFileObserver {
@@ -46,7 +50,7 @@ class PromiseFileFinalizer : public ui::DownloadFileObserver {
explicit PromiseFileFinalizer(DragDownloadFile* drag_file_downloader);
// DownloadFileObserver methods.
- virtual void OnDownloadCompleted(const FilePath& file_path) OVERRIDE;
+ virtual void OnDownloadCompleted(const base::FilePath& file_path) OVERRIDE;
virtual void OnDownloadAborted() OVERRIDE;
protected: