Index: chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.cc |
diff --git a/chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.cc b/chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.cc |
index ff9887c5227b8d035a43fab77cda9d9121feb976..c7795dcdb433ac829e4b0a973b413a64c8947707 100644 |
--- a/chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.cc |
+++ b/chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.cc |
@@ -29,7 +29,7 @@ storage::AsyncFileUtil* MTPFileSystemBackendDelegate::GetAsyncFileUtil( |
return device_media_async_file_util_.get(); |
} |
-scoped_ptr<storage::FileStreamReader> |
+std::unique_ptr<storage::FileStreamReader> |
MTPFileSystemBackendDelegate::CreateFileStreamReader( |
const storage::FileSystemURL& url, |
int64_t offset, |
@@ -42,7 +42,7 @@ MTPFileSystemBackendDelegate::CreateFileStreamReader( |
url, offset, expected_modification_time, context); |
} |
-scoped_ptr<storage::FileStreamWriter> |
+std::unique_ptr<storage::FileStreamWriter> |
MTPFileSystemBackendDelegate::CreateFileStreamWriter( |
const storage::FileSystemURL& url, |
int64_t offset, |
@@ -50,7 +50,7 @@ MTPFileSystemBackendDelegate::CreateFileStreamWriter( |
DCHECK_EQ(storage::kFileSystemTypeDeviceMediaAsFileStorage, url.type()); |
// TODO(kinaba): support writing. |
- return scoped_ptr<storage::FileStreamWriter>(); |
+ return std::unique_ptr<storage::FileStreamWriter>(); |
} |
storage::WatcherManager* MTPFileSystemBackendDelegate::GetWatcherManager( |