Index: chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h |
diff --git a/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h b/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h |
index 7084e4c9a458f8fffd6614c65bb8ef66dad39acc..b0127e9edaa8f17872914330d46f5e592efb22fe 100644 |
--- a/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h |
+++ b/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h |
@@ -6,8 +6,8 @@ |
#define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_ |
#include "base/callback.h" |
+#include "base/files/file.h" |
#include "base/memory/ref_counted.h" |
-#include "base/platform_file.h" |
#include "webkit/browser/fileapi/async_file_util.h" |
namespace base { |
@@ -23,7 +23,7 @@ class MTPDeviceAsyncDelegate { |
public: |
// A callback to be called when GetFileInfo method call succeeds. |
typedef base::Callback< |
- void(const base::PlatformFileInfo& file_info)> GetFileInfoSuccessCallback; |
+ void(const base::File::Info& file_info)> GetFileInfoSuccessCallback; |
// A callback to be called when ReadDirectory method call succeeds. |
typedef base::Callback< |
@@ -32,12 +32,11 @@ class MTPDeviceAsyncDelegate { |
// A callback to be called when GetFileInfo/ReadDirectory/CreateSnapshot |
// method call fails. |
- typedef base::Callback< |
- void(base::PlatformFileError error)> ErrorCallback; |
+ typedef base::Callback<void(base::File::Error error)> ErrorCallback; |
// A callback to be called when CreateSnapshotFile method call succeeds. |
typedef base::Callback< |
- void(const base::PlatformFileInfo& file_info, |
+ void(const base::File::Info& file_info, |
const base::FilePath& local_path)> CreateSnapshotFileSuccessCallback; |
// Gets information about the given |file_path| and invokes the appropriate |