| Index: components/storage_monitor/storage_monitor_linux.cc
|
| diff --git a/components/storage_monitor/storage_monitor_linux.cc b/components/storage_monitor/storage_monitor_linux.cc
|
| index a68e3e8e6f89d8d4b9c46f421f81c6c064e2bf8a..b08986723c2980260f36b4f7d819eba19f6b0a15 100644
|
| --- a/components/storage_monitor/storage_monitor_linux.cc
|
| +++ b/components/storage_monitor/storage_monitor_linux.cc
|
| @@ -120,12 +120,12 @@ uint64_t GetDeviceStorageSize(const base::FilePath& device_path,
|
| }
|
|
|
| // Gets the device information using udev library.
|
| -scoped_ptr<StorageInfo> GetDeviceInfo(const base::FilePath& device_path,
|
| - const base::FilePath& mount_point) {
|
| +std::unique_ptr<StorageInfo> GetDeviceInfo(const base::FilePath& device_path,
|
| + const base::FilePath& mount_point) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::FILE);
|
| DCHECK(!device_path.empty());
|
|
|
| - scoped_ptr<StorageInfo> storage_info;
|
| + std::unique_ptr<StorageInfo> storage_info;
|
|
|
| ScopedGetDeviceInfoResultRecorder results_recorder;
|
|
|
| @@ -484,8 +484,9 @@ void StorageMonitorLinux::HandleDeviceMountedMultipleTimes(
|
| mount_info_map_.find(other_mount_point)->second;
|
| }
|
|
|
| -void StorageMonitorLinux::AddNewMount(const base::FilePath& mount_device,
|
| - scoped_ptr<StorageInfo> storage_info) {
|
| +void StorageMonitorLinux::AddNewMount(
|
| + const base::FilePath& mount_device,
|
| + std::unique_ptr<StorageInfo> storage_info) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
|
|
| if (!storage_info)
|
|
|