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

Unified Diff: chrome/browser/media_galleries/linux/mtp_device_task_helper.cc

Issue 14671020: FileAPI: Copy base::FileUtilProxy::Entry to fileapi::DirectoryEntry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build and remove base/ change Created 7 years, 7 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/linux/mtp_device_task_helper.cc
diff --git a/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc b/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc
index 52860127750334c46cfb19ca7d297c8b863e7883..184484e0295da912d53604fc8561180c1303996e 100644
--- a/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc
+++ b/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc
@@ -162,7 +162,7 @@ void MTPDeviceTaskHelper::OnDidReadDirectoryByPath(
base::FilePath current;
MTPDeviceObjectEnumerator file_enum(file_entries);
while (!(current = file_enum.Next()).empty()) {
- fileapi::AsyncFileUtil::Entry entry;
+ fileapi::DirectoryEntry entry;
entry.name = fileapi::VirtualPath::BaseName(current).value();
entry.is_directory = file_enum.IsDirectory();
entry.size = file_enum.Size();
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_proxy.cc ('k') | chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698