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

Unified Diff: chrome/browser/chromeos/drive/file_system/download_operation.cc

Issue 99923002: Move temp file functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: chrome/browser/chromeos/drive/file_system/download_operation.cc
diff --git a/chrome/browser/chromeos/drive/file_system/download_operation.cc b/chrome/browser/chromeos/drive/file_system/download_operation.cc
index b7ed7587f1ad4deaf6b3251957e702a6d7b7b1a2..3cea0a66f5972ecbd380ada0724dd71743f68be9 100644
--- a/chrome/browser/chromeos/drive/file_system/download_operation.cc
+++ b/chrome/browser/chromeos/drive/file_system/download_operation.cc
@@ -62,8 +62,8 @@ FileError CheckPreConditionForEnsureFileDownloaded(
if (entry->file_specific_info().is_hosted_document()) {
base::FilePath gdoc_file_path;
base::PlatformFileInfo file_info;
- if (!file_util::CreateTemporaryFileInDir(temporary_file_directory,
- &gdoc_file_path) ||
+ if (!base::CreateTemporaryFileInDir(temporary_file_directory,
+ &gdoc_file_path) ||
!util::CreateGDocFile(gdoc_file_path,
GURL(entry->file_specific_info().alternate_url()),
entry->resource_id()) ||
@@ -146,7 +146,7 @@ FileError CheckPreConditionForEnsureFileDownloadedByPath(
// processes (e.g., cros_disks for mounting zip files).
bool CreateTemporaryReadableFileInDir(const base::FilePath& dir,
base::FilePath* temp_file) {
- if (!file_util::CreateTemporaryFileInDir(dir, temp_file))
+ if (!base::CreateTemporaryFileInDir(dir, temp_file))
return false;
return base::SetPosixFilePermissions(
*temp_file,

Powered by Google App Engine
This is Rietveld 408576698