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

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

Issue 105293002: Move more file_util 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 2e1aa5147294d8a54ecca9fdd6b8159c7205933a..67071026fb785ffc362169100e2b3efd01327ffd 100644
--- a/chrome/browser/chromeos/drive/file_system/download_operation.cc
+++ b/chrome/browser/chromeos/drive/file_system/download_operation.cc
@@ -67,7 +67,7 @@ FileError CheckPreConditionForEnsureFileDownloaded(
!util::CreateGDocFile(gdoc_file_path,
GURL(entry->file_specific_info().alternate_url()),
entry->resource_id()) ||
- !file_util::GetFileInfo(gdoc_file_path, &file_info))
+ !base::GetFileInfo(gdoc_file_path, &file_info))
return FILE_ERROR_FAILED;
*cache_file_path = gdoc_file_path;
@@ -98,7 +98,7 @@ FileError CheckPreConditionForEnsureFileDownloaded(
// the drive::FS side is also converted to run fully on blocking pool.
if (cache_entry.is_dirty()) {
base::PlatformFileInfo file_info;
- if (file_util::GetFileInfo(*cache_file_path, &file_info))
+ if (base::GetFileInfo(*cache_file_path, &file_info))
SetPlatformFileInfoToResourceEntry(file_info, entry);
}
« no previous file with comments | « chrome/browser/chromeos/drive/file_system.cc ('k') | chrome/browser/chromeos/extensions/echo_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698