Index: chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h |
diff --git a/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h b/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h |
index 5a04bc701c52838f7c937c78a4c0abc3211bc27c..1278663a6971540c082e53e4a7ce060583e397ef 100644 |
--- a/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h |
+++ b/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h |
@@ -88,8 +88,7 @@ class MTPDeviceDelegateImplLinux : public MTPDeviceAsyncDelegate { |
// the UI thread. |
// |
// |snapshot_file_info| specifies the metadata details of the snapshot file. |
- void WriteDataIntoSnapshotFile( |
- const base::PlatformFileInfo& snapshot_file_info); |
+ void WriteDataIntoSnapshotFile(const base::File::Info& snapshot_file_info); |
// Processes the next pending request. |
void ProcessNextPendingRequest(); |
@@ -104,7 +103,7 @@ class MTPDeviceDelegateImplLinux : public MTPDeviceAsyncDelegate { |
// requested file details. |success_callback| is invoked to notify the caller |
// about the requested file details. |
void OnDidGetFileInfo(const GetFileInfoSuccessCallback& success_callback, |
- const base::PlatformFileInfo& file_info); |
+ const base::File::Info& file_info); |
// Called when GetFileInfo() succeeds. GetFileInfo() is invoked to |
// get the |root| directory metadata details. |file_info| specifies the |root| |
@@ -119,7 +118,7 @@ class MTPDeviceDelegateImplLinux : public MTPDeviceAsyncDelegate { |
const std::string& root, |
const ReadDirectorySuccessCallback& success_callback, |
const ErrorCallback& error_callback, |
- const base::PlatformFileInfo& file_info); |
+ const base::File::Info& file_info); |
// Called when GetFileInfo() succeeds. GetFileInfo() is invoked to |
// create the snapshot file of |snapshot_request_info.device_file_path|. |
@@ -129,7 +128,7 @@ class MTPDeviceDelegateImplLinux : public MTPDeviceAsyncDelegate { |
// to the snapshot file. |
void OnDidGetFileInfoToCreateSnapshotFile( |
scoped_ptr<SnapshotRequestInfo> snapshot_request_info, |
- const base::PlatformFileInfo& file_info); |
+ const base::File::Info& file_info); |
// Called when ReadDirectory() succeeds. |
// |
@@ -146,7 +145,7 @@ class MTPDeviceDelegateImplLinux : public MTPDeviceAsyncDelegate { |
// |current_snapshot_request_info_.success_callback| is invoked to notify the |
// caller about |snapshot_file_info|. |
void OnDidWriteDataIntoSnapshotFile( |
- const base::PlatformFileInfo& snapshot_file_info, |
+ const base::File::Info& snapshot_file_info, |
const base::FilePath& snapshot_file_path); |
// Called when WriteDataIntoSnapshotFile() fails. |
@@ -155,12 +154,12 @@ class MTPDeviceDelegateImplLinux : public MTPDeviceAsyncDelegate { |
// |
// |current_snapshot_request_info_.error_callback| is invoked to notify the |
// caller about |error|. |
- void OnWriteDataIntoSnapshotFileError(base::PlatformFileError error); |
+ void OnWriteDataIntoSnapshotFileError(base::File::Error error); |
// Handles the device file |error|. |error_callback| is invoked to notify the |
// caller about the file error. |
void HandleDeviceFileError(const ErrorCallback& error_callback, |
- base::PlatformFileError error); |
+ base::File::Error error); |
// MTP device initialization state. |
InitializationState init_state_; |