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

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

Issue 12213066: Use base namespace for FilePath in content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_file_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file.h
diff --git a/content/browser/download/download_file.h b/content/browser/download/download_file.h
index 9f1a2a65696b9ff5ce90745a7699a31b96e69c93..d52f19038497508bd010ef220fbe9252f99e9602 100644
--- a/content/browser/download/download_file.h
+++ b/content/browser/download/download_file.h
@@ -34,7 +34,8 @@ class CONTENT_EXPORT DownloadFile {
// was done to. On a failed rename, |reason| will contain the
// error.
typedef base::Callback<void(DownloadInterruptReason reason,
- const FilePath& path)> RenameCompletionCallback;
+ const base::FilePath& path)>
+ RenameCompletionCallback;
virtual ~DownloadFile() {}
@@ -46,13 +47,13 @@ class CONTENT_EXPORT DownloadFile {
// Rename the download file to |full_path|. If that file exists
// |full_path| will be uniquified by suffixing " (<number>)" to the
// file name before the extension.
- virtual void RenameAndUniquify(const FilePath& full_path,
+ virtual void RenameAndUniquify(const base::FilePath& full_path,
const RenameCompletionCallback& callback) = 0;
// Rename the download file to |full_path| and annotate it with
// "Mark of the Web" information about its source. No uniquification
// will be performed.
- virtual void RenameAndAnnotate(const FilePath& full_path,
+ virtual void RenameAndAnnotate(const base::FilePath& full_path,
const RenameCompletionCallback& callback) = 0;
// Detach the file so it is not deleted on destruction.
@@ -61,7 +62,7 @@ class CONTENT_EXPORT DownloadFile {
// Abort the download and automatically close the file.
virtual void Cancel() = 0;
- virtual FilePath FullPath() const = 0;
+ virtual base::FilePath FullPath() const = 0;
virtual bool InProgress() const = 0;
virtual int64 BytesSoFar() const = 0;
virtual int64 CurrentSpeed() const = 0;
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_file_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698