| Index: chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
|
| index 7df6870546727aca362c42964a9b06221fba83ea..c21b6bb3b2cd64bf1f4af2a0406c26e08ca39179 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/private_api_mount.cc
|
| @@ -48,7 +48,7 @@ void EnsureReadableFilePermissionOnBlockingPool(
|
|
|
| bool FileManagerPrivateAddMountFunction::RunAsync() {
|
| using file_manager_private::AddMount::Params;
|
| - const scoped_ptr<Params> params(Params::Create(*args_));
|
| + const std::unique_ptr<Params> params(Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params);
|
|
|
| drive::EventLogger* logger = file_manager::util::GetLogger(GetProfile());
|
| @@ -119,7 +119,7 @@ void FileManagerPrivateAddMountFunction::RunAfterGetDriveFile(
|
| const base::FilePath& drive_path,
|
| drive::FileError error,
|
| const base::FilePath& cache_path,
|
| - scoped_ptr<drive::ResourceEntry> entry) {
|
| + std::unique_ptr<drive::ResourceEntry> entry) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
| if (error != drive::FILE_ERROR_OK) {
|
| @@ -168,7 +168,7 @@ void FileManagerPrivateAddMountFunction::RunAfterMarkCacheFileAsMounted(
|
|
|
| bool FileManagerPrivateRemoveMountFunction::RunAsync() {
|
| using file_manager_private::RemoveMount::Params;
|
| - const scoped_ptr<Params> params(Params::Create(*args_));
|
| + const std::unique_ptr<Params> params(Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params);
|
|
|
| drive::EventLogger* logger = file_manager::util::GetLogger(GetProfile());
|
|
|