diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-07 19:20:34 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-07 19:20:34 +0000 |
commit | 2dec8ec385e65c80571c5723dc572264a934b7c9 (patch) | |
tree | f30b887d1fa77930cc7b9bbc1a0c6a13b7437255 /content/browser/download/base_file.cc | |
parent | 60e28106a326d40d9ba117d18be0abcd954c8832 (diff) | |
download | chromium_src-2dec8ec385e65c80571c5723dc572264a934b7c9.zip chromium_src-2dec8ec385e65c80571c5723dc572264a934b7c9.tar.gz chromium_src-2dec8ec385e65c80571c5723dc572264a934b7c9.tar.bz2 |
Use base namespace for FilePath in content/browser
Review URL: https://codereview.chromium.org/12213066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download/base_file.cc')
-rw-r--r-- | content/browser/download/base_file.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc index 1682723..b5ded45 100644 --- a/content/browser/download/base_file.cc +++ b/content/browser/download/base_file.cc @@ -25,7 +25,7 @@ namespace content { // This will initialize the entire array to zero. const unsigned char BaseFile::kEmptySha256Hash[] = { 0 }; -BaseFile::BaseFile(const FilePath& full_path, +BaseFile::BaseFile(const base::FilePath& full_path, const GURL& source_url, const GURL& referrer_url, int64 received_bytes, @@ -63,7 +63,7 @@ BaseFile::~BaseFile() { } DownloadInterruptReason BaseFile::Initialize( - const FilePath& default_directory) { + const base::FilePath& default_directory) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); DCHECK(!detached_); @@ -73,8 +73,8 @@ DownloadInterruptReason BaseFile::Initialize( } if (full_path_.empty()) { - FilePath initial_directory(default_directory); - FilePath temp_file; + base::FilePath initial_directory(default_directory); + base::FilePath temp_file; if (initial_directory.empty()) { initial_directory = GetContentClient()->browser()->GetDefaultDownloadDirectory(); @@ -148,7 +148,7 @@ DownloadInterruptReason BaseFile::AppendDataToFile(const char* data, return DOWNLOAD_INTERRUPT_REASON_NONE; } -DownloadInterruptReason BaseFile::Rename(const FilePath& new_path) { +DownloadInterruptReason BaseFile::Rename(const base::FilePath& new_path) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); DownloadInterruptReason rename_result = DOWNLOAD_INTERRUPT_REASON_NONE; |