Index: chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc |
diff --git a/chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc b/chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc |
index 6fe3b3f5450478819bb81d44a4fcbb388a264b18..7bd703365f8c92bd7a71eb1c6ffaee55e7fb7cc0 100644 |
--- a/chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc |
+++ b/chrome/browser/local_discovery/storage/privet_filesystem_async_util.cc |
@@ -148,8 +148,14 @@ void PrivetFileSystemAsyncUtil::CopyInForeignFile( |
const base::FilePath& src_file_path, |
const fileapi::FileSystemURL& dest_url, |
const StatusCallback& callback) { |
- NOTIMPLEMENTED(); |
- callback.Run(base::File::FILE_ERROR_INVALID_OPERATION); |
+ content::BrowserThread::PostTask( |
+ content::BrowserThread::UI, |
+ FROM_HERE, |
+ base::Bind(&PrivetFileSystemOperationFactory::CopyInForeignFile, |
+ operation_factory_, |
+ src_file_path, |
+ dest_url, |
+ callback)); |
} |
void PrivetFileSystemAsyncUtil::DeleteFile( |