| Index: chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc
|
| diff --git a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc
|
| index 5f1234c675e190bda361cbd844c221bc085212ef..81c15b23e20f4c28274005206e4e7a09d03f6c35 100644
|
| --- a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc
|
| +++ b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc
|
| @@ -461,7 +461,7 @@ void MTPDeviceDelegateImplWin::ReadBytes(
|
| NOTREACHED();
|
| }
|
|
|
| -bool MTPDeviceDelegateImplWin::IsReadOnly() {
|
| +bool MTPDeviceDelegateImplWin::IsReadOnly() const {
|
| return true;
|
| }
|
|
|
| @@ -473,6 +473,20 @@ void MTPDeviceDelegateImplWin::CopyFileFromLocal(
|
| NOTREACHED();
|
| }
|
|
|
| +void MTPDeviceDelegateImplWin::DeleteFile(
|
| + const base::FilePath& file_path,
|
| + const DeleteFileSuccessCallback& success_callback,
|
| + const ErrorCallback& error_callback) {
|
| + NOTREACHED();
|
| +}
|
| +
|
| +void MTPDeviceDelegateImplWin::DeleteDirectory(
|
| + const base::FilePath& file_path,
|
| + const DeleteDirectorySuccessCallback& success_callback,
|
| + const ErrorCallback& error_callback) {
|
| + NOTREACHED();
|
| +}
|
| +
|
| void MTPDeviceDelegateImplWin::CancelPendingTasksAndDeleteDelegate() {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
|
| PortableDeviceMapService::GetInstance()->MarkPortableDeviceForDeletion(
|
|
|