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

Unified Diff: chrome/browser/media_galleries/fileapi/iphoto_file_util.cc

Issue 101143006: Convert base::file_util to use File instead of PlatformFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base:: 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
Index: chrome/browser/media_galleries/fileapi/iphoto_file_util.cc
diff --git a/chrome/browser/media_galleries/fileapi/iphoto_file_util.cc b/chrome/browser/media_galleries/fileapi/iphoto_file_util.cc
index e4fdde4f292f710bb86aac7b81022fb3e4770397..765fba18321ca1347bfc9302cbbb7c929998a037 100644
--- a/chrome/browser/media_galleries/fileapi/iphoto_file_util.cc
+++ b/chrome/browser/media_galleries/fileapi/iphoto_file_util.cc
@@ -248,7 +248,7 @@ base::PlatformFileError IPhotoFileUtil::ReadDirectorySync(
for (std::map<std::string, base::FilePath>::const_iterator it =
locations.begin();
it != locations.end(); it++) {
- base::PlatformFileInfo info;
+ base::File::Info info;
if (!base::GetFileInfo(it->second, &info))
return base::PLATFORM_FILE_ERROR_IO;
file_list->push_back(DirectoryEntry(it->first, DirectoryEntry::FILE,
@@ -263,7 +263,7 @@ base::PlatformFileError IPhotoFileUtil::ReadDirectorySync(
for (std::map<std::string, base::FilePath>::const_iterator it =
originals.begin();
it != originals.end(); it++) {
- base::PlatformFileInfo info;
+ base::File::Info info;
if (!base::GetFileInfo(it->second, &info))
return base::PLATFORM_FILE_ERROR_IO;
file_list->push_back(DirectoryEntry(it->first, DirectoryEntry::FILE,

Powered by Google App Engine
This is Rietveld 408576698