| Index: chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h
|
| diff --git a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h
|
| index fecd06916a601400d94ca7a89bf428bd24932d4b..47cac4cf32556af80505b1dd93a18e4cc0fb8d3b 100644
|
| --- a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h
|
| +++ b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h
|
| @@ -10,9 +10,9 @@
|
| #include <vector>
|
|
|
| #include "base/containers/hash_tables.h"
|
| +#include "base/files/file.h"
|
| #include "base/files/file_path.h"
|
| #include "base/memory/weak_ptr.h"
|
| -#include "base/platform_file.h"
|
| #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
|
|
|
| // Delegate for presenting an Image Capture device through the filesystem
|
| @@ -54,10 +54,10 @@ class MTPDeviceDelegateImplMac : public MTPDeviceAsyncDelegate {
|
| // Forward delegates for ImageCaptureDeviceListener. These are
|
| // invoked in callbacks of the ImageCapture library on the UI thread.
|
| virtual void ItemAdded(const std::string& name,
|
| - const base::PlatformFileInfo& info);
|
| + const base::File::Info& info);
|
| virtual void NoMoreItems();
|
| virtual void DownloadedFile(const std::string& name,
|
| - base::PlatformFileError error);
|
| + base::File::Error error);
|
|
|
| // Scheduled when early directory reads are requested. The
|
| // timeout will signal an ABORT error to the caller if the
|
| @@ -71,8 +71,8 @@ class MTPDeviceDelegateImplMac : public MTPDeviceAsyncDelegate {
|
|
|
| // Delegate for GetFileInfo, called on the UI thread.
|
| void GetFileInfoImpl(const base::FilePath& file_path,
|
| - base::PlatformFileInfo* file_info,
|
| - base::PlatformFileError* error);
|
| + base::File::Info* file_info,
|
| + base::File::Error* error);
|
|
|
| // Delegate for ReadDirectory, called on the UI thread.
|
| void ReadDirectoryImpl(
|
| @@ -106,7 +106,7 @@ class MTPDeviceDelegateImplMac : public MTPDeviceAsyncDelegate {
|
|
|
| // Stores a map from filename to file metadata received from the camera.
|
| base::hash_map<base::FilePath::StringType,
|
| - base::PlatformFileInfo> file_info_;
|
| + base::File::Info> file_info_;
|
|
|
| // List of filenames received from the camera.
|
| std::vector<base::FilePath> file_paths_;
|
|
|