diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-16 06:26:31 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-16 06:26:31 +0000 |
commit | c42de73d768e53ea90903357ced6ef6001fb7b2f (patch) | |
tree | e3df82e3ce2194a069f5c26c0784ed56cb26b231 /content/public/test/test_file_error_injector.cc | |
parent | a6ba33f4132b66b3e11d26f43eecde12e5a0bbc9 (diff) | |
download | chromium_src-c42de73d768e53ea90903357ced6ef6001fb7b2f.zip chromium_src-c42de73d768e53ea90903357ced6ef6001fb7b2f.tar.gz chromium_src-c42de73d768e53ea90903357ced6ef6001fb7b2f.tar.bz2 |
Replace all FilePath with base::FilePath in content.
This is im preparation for removing the 'using" in file_path.h
Review URL: https://codereview.chromium.org/12226120
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/test/test_file_error_injector.cc')
-rw-r--r-- | content/public/test/test_file_error_injector.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/content/public/test/test_file_error_injector.cc b/content/public/test/test_file_error_injector.cc index 2a0c690..584b41056 100644 --- a/content/public/test/test_file_error_injector.cc +++ b/content/public/test/test_file_error_injector.cc @@ -30,7 +30,7 @@ class DownloadFileWithErrors: public DownloadFileImpl { DownloadFileWithErrors( scoped_ptr<DownloadSaveInfo> save_info, - const FilePath& default_download_directory, + const base::FilePath& default_download_directory, const GURL& url, const GURL& referrer_url, bool calculate_hash, @@ -50,10 +50,10 @@ class DownloadFileWithErrors: public DownloadFileImpl { virtual DownloadInterruptReason AppendDataToFile( const char* data, size_t data_len) OVERRIDE; virtual void RenameAndUniquify( - const FilePath& full_path, + const base::FilePath& full_path, const RenameCompletionCallback& callback) OVERRIDE; virtual void RenameAndAnnotate( - const FilePath& full_path, + const base::FilePath& full_path, const RenameCompletionCallback& callback) OVERRIDE; private: @@ -96,16 +96,16 @@ static void RenameErrorCallback( const DownloadFile::RenameCompletionCallback original_callback, DownloadInterruptReason overwrite_error, DownloadInterruptReason original_error, - const FilePath& path_result) { + const base::FilePath& path_result) { original_callback.Run( overwrite_error, overwrite_error == DOWNLOAD_INTERRUPT_REASON_NONE ? - path_result : FilePath()); + path_result : base::FilePath()); } DownloadFileWithErrors::DownloadFileWithErrors( scoped_ptr<DownloadSaveInfo> save_info, - const FilePath& default_download_directory, + const base::FilePath& default_download_directory, const GURL& url, const GURL& referrer_url, bool calculate_hash, @@ -154,7 +154,7 @@ DownloadInterruptReason DownloadFileWithErrors::AppendDataToFile( } void DownloadFileWithErrors::RenameAndUniquify( - const FilePath& full_path, + const base::FilePath& full_path, const RenameCompletionCallback& callback) { DownloadInterruptReason error_to_return = DOWNLOAD_INTERRUPT_REASON_NONE; RenameCompletionCallback callback_to_use = callback; @@ -171,7 +171,7 @@ void DownloadFileWithErrors::RenameAndUniquify( } void DownloadFileWithErrors::RenameAndAnnotate( - const FilePath& full_path, + const base::FilePath& full_path, const RenameCompletionCallback& callback) { DownloadInterruptReason error_to_return = DOWNLOAD_INTERRUPT_REASON_NONE; RenameCompletionCallback callback_to_use = callback; @@ -223,7 +223,7 @@ class DownloadFileWithErrorsFactory : public DownloadFileFactory { // DownloadFileFactory interface. virtual DownloadFile* CreateFile( scoped_ptr<DownloadSaveInfo> save_info, - const FilePath& default_download_directory, + const base::FilePath& default_download_directory, const GURL& url, const GURL& referrer_url, bool calculate_hash, @@ -257,7 +257,7 @@ DownloadFileWithErrorsFactory::~DownloadFileWithErrorsFactory() { DownloadFile* DownloadFileWithErrorsFactory::CreateFile( scoped_ptr<DownloadSaveInfo> save_info, - const FilePath& default_download_directory, + const base::FilePath& default_download_directory, const GURL& url, const GURL& referrer_url, bool calculate_hash, |