| Index: extensions/browser/api/system_storage/system_storage_api.cc
|
| diff --git a/extensions/browser/api/system_storage/system_storage_api.cc b/extensions/browser/api/system_storage/system_storage_api.cc
|
| index de460183ea3af7b2a2c459e593c9e5b54c55b873..cd20f4f6b4cf89ae74a9abb07bcb862b6d0eca6c 100644
|
| --- a/extensions/browser/api/system_storage/system_storage_api.cc
|
| +++ b/extensions/browser/api/system_storage/system_storage_api.cc
|
| @@ -41,7 +41,8 @@ SystemStorageEjectDeviceFunction::~SystemStorageEjectDeviceFunction() {
|
| bool SystemStorageEjectDeviceFunction::RunAsync() {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
|
|
| - scoped_ptr<EjectDevice::Params> params(EjectDevice::Params::Create(*args_));
|
| + std::unique_ptr<EjectDevice::Params> params(
|
| + EjectDevice::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
|
|
| StorageMonitor::GetInstance()->EnsureInitialized(
|
| @@ -102,7 +103,7 @@ SystemStorageGetAvailableCapacityFunction::
|
| bool SystemStorageGetAvailableCapacityFunction::RunAsync() {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
|
|
| - scoped_ptr<GetAvailableCapacity::Params> params(
|
| + std::unique_ptr<GetAvailableCapacity::Params> params(
|
| GetAvailableCapacity::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
|
|
|
|