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

Unified Diff: content/browser/download/save_file.cc

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/save_file.h ('k') | content/browser/download/save_file_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/save_file.cc
diff --git a/content/browser/download/save_file.cc b/content/browser/download/save_file.cc
index 854470bcc781a9bb70293fea64338c88ee6e7e4e..3e7f7bdae32159eda34d90c1c7636ec8d4aa0eee 100644
--- a/content/browser/download/save_file.cc
+++ b/content/browser/download/save_file.cc
@@ -15,7 +15,7 @@ namespace content {
// Unfortunately, as it is, constructors of SaveFile don't always
// have access to the SavePackage at this point.
SaveFile::SaveFile(const SaveFileCreateInfo* info, bool calculate_hash)
- : file_(FilePath(),
+ : file_(base::FilePath(),
info->url,
GURL(),
0,
@@ -35,7 +35,7 @@ SaveFile::~SaveFile() {
}
DownloadInterruptReason SaveFile::Initialize() {
- return file_.Initialize(FilePath());
+ return file_.Initialize(base::FilePath());
}
DownloadInterruptReason SaveFile::AppendDataToFile(const char* data,
@@ -43,7 +43,7 @@ DownloadInterruptReason SaveFile::AppendDataToFile(const char* data,
return file_.AppendDataToFile(data, data_len);
}
-DownloadInterruptReason SaveFile::Rename(const FilePath& full_path) {
+DownloadInterruptReason SaveFile::Rename(const base::FilePath& full_path) {
return file_.Rename(full_path);
}
@@ -63,7 +63,7 @@ void SaveFile::AnnotateWithSourceInformation() {
file_.AnnotateWithSourceInformation();
}
-FilePath SaveFile::FullPath() const {
+base::FilePath SaveFile::FullPath() const {
return file_.full_path();
}
« no previous file with comments | « content/browser/download/save_file.h ('k') | content/browser/download/save_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698