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

Unified Diff: chrome/browser/chromeos/drive/resource_entry_conversion.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
Index: chrome/browser/chromeos/drive/resource_entry_conversion.cc
diff --git a/chrome/browser/chromeos/drive/resource_entry_conversion.cc b/chrome/browser/chromeos/drive/resource_entry_conversion.cc
index 8ab9458f31d4953fd4a4485d407784ec8eb2c8f2..1f479b6c83de020316966c4a9752a618cb4a41a2 100644
--- a/chrome/browser/chromeos/drive/resource_entry_conversion.cc
+++ b/chrome/browser/chromeos/drive/resource_entry_conversion.cc
@@ -133,8 +133,8 @@ bool ConvertToResourceEntry(const google_apis::ResourceEntry& input,
return true;
}
-void ConvertResourceEntryToPlatformFileInfo(const ResourceEntry& entry,
- base::PlatformFileInfo* file_info) {
+void ConvertResourceEntryToFileInfo(const ResourceEntry& entry,
+ base::File::Info* file_info) {
file_info->size = entry.file_info().size();
file_info->is_directory = entry.file_info().is_directory();
file_info->is_symbolic_link = entry.file_info().is_symbolic_link();
@@ -146,7 +146,7 @@ void ConvertResourceEntryToPlatformFileInfo(const ResourceEntry& entry,
entry.file_info().creation_time());
}
-void SetPlatformFileInfoToResourceEntry(const base::PlatformFileInfo& file_info,
+void SetPlatformFileInfoToResourceEntry(const base::File::Info& file_info,
ResourceEntry* entry) {
PlatformFileInfoProto* entry_file_info = entry->mutable_file_info();
entry_file_info->set_size(file_info.size);

Powered by Google App Engine
This is Rietveld 408576698