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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: content/browser/download/drag_download_util.h
diff --git a/content/browser/download/drag_download_util.h b/content/browser/download/drag_download_util.h
index c968ae4fb0b5bab789aae76033476f2fdfb4a8aa..c6568c971b68c9f2f2932b4463e1b9c10253da6d 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:
« no previous file with comments | « content/browser/download/download_net_log_parameters.h ('k') | content/browser/download/file_metadata_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698