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

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

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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 | « chrome/browser/chromeos/drive/file_system.cc ('k') | chrome/browser/chromeos/drive/fileapi_worker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5257e824bc3d73127a74d40b6217b6a97676766d..0df9748e593bd07ccbde01a2e3b996ea60c4ddc8 100644
--- a/chrome/browser/chromeos/drive/file_system/download_operation.cc
+++ b/chrome/browser/chromeos/drive/file_system/download_operation.cc
@@ -62,7 +62,7 @@ FileError CheckPreConditionForEnsureFileDownloaded(
if (entry->file_specific_info().is_hosted_document()) {
base::FilePath gdoc_file_path;
// TODO(rvargas): Convert this code to use base::File::Info.
- base::PlatformFileInfo file_info;
+ base::File::Info file_info;
if (!base::CreateTemporaryFileInDir(temporary_file_directory,
&gdoc_file_path) ||
!util::CreateGDocFile(gdoc_file_path,
@@ -99,7 +99,7 @@ FileError CheckPreConditionForEnsureFileDownloaded(
// drive::FileSystem::CheckLocalModificationAndRun. We should merge them once
// the drive::FS side is also converted to run fully on blocking pool.
if (cache_entry.is_dirty()) {
- base::PlatformFileInfo file_info;
+ base::File::Info file_info;
if (base::GetFileInfo(*cache_file_path,
reinterpret_cast<base::File::Info*>(&file_info)))
SetPlatformFileInfoToResourceEntry(file_info, entry);
« no previous file with comments | « chrome/browser/chromeos/drive/file_system.cc ('k') | chrome/browser/chromeos/drive/fileapi_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698