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

Unified Diff: content/browser/download/save_file_manager.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/save_file_manager.h
diff --git a/content/browser/download/save_file_manager.h b/content/browser/download/save_file_manager.h
index 73c77117fb2fd5b81d1ad7c6db3a77037fd51027..8e3523e696a326196c21ecf30da3453616840998 100644
--- a/content/browser/download/save_file_manager.h
+++ b/content/browser/download/save_file_manager.h
@@ -66,9 +66,11 @@
#include "content/browser/download/save_types.h"
#include "content/common/content_export.h"
-class FilePath;
class GURL;
+namespace base {
+class FilePath;
+}
namespace net {
class IOBuffer;
@@ -99,7 +101,7 @@ class SaveFileManager : public base::RefCountedThreadSafe<SaveFileManager> {
int render_process_host_id,
int render_view_id,
SaveFileCreateInfo::SaveFileSource save_source,
- const FilePath& file_full_path,
+ const base::FilePath& file_full_path,
ResourceContext* context,
SavePackage* save_package);
@@ -121,7 +123,7 @@ class SaveFileManager : public base::RefCountedThreadSafe<SaveFileManager> {
SavePackage* package);
// Helper function for deleting specified file.
- void DeleteDirectoryOrFile(const FilePath& full_path, bool is_dir);
+ void DeleteDirectoryOrFile(const base::FilePath& full_path, bool is_dir);
// Runs on file thread to save a file by copying from file system when
// original url is using file scheme.
@@ -134,7 +136,7 @@ class SaveFileManager : public base::RefCountedThreadSafe<SaveFileManager> {
// final names of successfully saved files.
void RenameAllFiles(
const FinalNameList& final_names,
- const FilePath& resource_dir,
+ const base::FilePath& resource_dir,
int render_process_id,
int render_view_id,
int save_package_id);
@@ -199,7 +201,7 @@ class SaveFileManager : public base::RefCountedThreadSafe<SaveFileManager> {
// Notifications sent from the UI thread and run on the file thread.
// Deletes a specified file on the file thread.
- void OnDeleteDirectoryOrFile(const FilePath& full_path, bool is_dir);
+ void OnDeleteDirectoryOrFile(const base::FilePath& full_path, bool is_dir);
// Notifications sent from the UI thread and run on the IO thread
« no previous file with comments | « content/browser/download/mhtml_generation_manager.h ('k') | content/browser/fileapi/fileapi_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698