Index: chrome/browser/media_galleries/linux/mtp_read_file_worker.cc |
diff --git a/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc b/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc |
index 8c7eddbc11f59728c4a36c0d1dc5c8471e134196..e27113cd4c272d144d345ca02b842e730bea7e9c 100644 |
--- a/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc |
+++ b/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc |
@@ -47,7 +47,7 @@ MTPReadFileWorker::~MTPReadFileWorker() { |
void MTPReadFileWorker::WriteDataIntoSnapshotFile( |
const SnapshotRequestInfo& request_info, |
- const base::PlatformFileInfo& snapshot_file_info) { |
+ const base::File::Info& snapshot_file_info) { |
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
ReadDataChunkFromDeviceFile( |
make_scoped_ptr(new SnapshotFileDetails(request_info, |
@@ -128,7 +128,7 @@ void MTPReadFileWorker::OnDidWriteIntoSnapshotFile( |
content::BrowserThread::IO, |
FROM_HERE, |
base::Bind(snapshot_file_details->error_callback(), |
- base::PLATFORM_FILE_ERROR_FAILED)); |
+ base::File::FILE_ERROR_FAILED)); |
return; |
} |
content::BrowserThread::PostTask( |