| Index: chrome/browser/platform_util_unittest.cc
|
| diff --git a/chrome/browser/platform_util_unittest.cc b/chrome/browser/platform_util_unittest.cc
|
| index a929cb675eb613c19e383eb3b733f75334e35988..3eb2e2c85fa0f8d3d76425beac54b9cd0e3e436a 100644
|
| --- a/chrome/browser/platform_util_unittest.cc
|
| +++ b/chrome/browser/platform_util_unittest.cc
|
| @@ -18,6 +18,7 @@
|
|
|
| #if defined(OS_CHROMEOS)
|
| #include "base/json/json_string_value_serializer.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/chrome_content_browser_client.h"
|
| #include "chrome/browser/chromeos/file_manager/app_id.h"
|
| @@ -50,15 +51,16 @@ class PlatformUtilTestContentBrowserClient : public ChromeContentBrowserClient {
|
| void GetAdditionalFileSystemBackends(
|
| content::BrowserContext* browser_context,
|
| const base::FilePath& storage_partition_path,
|
| - ScopedVector<storage::FileSystemBackend>* additional_backends) override {
|
| + std::vector<std::unique_ptr<storage::FileSystemBackend>>*
|
| + additional_backends) override {
|
| storage::ExternalMountPoints* external_mount_points =
|
| content::BrowserContext::GetMountPoints(browser_context);
|
|
|
| // New FileSystemBackend that uses our MockSpecialStoragePolicy.
|
| - chromeos::FileSystemBackend* backend = new chromeos::FileSystemBackend(
|
| - nullptr, nullptr, nullptr, nullptr, nullptr, external_mount_points,
|
| - storage::ExternalMountPoints::GetSystemInstance());
|
| - additional_backends->push_back(backend);
|
| + additional_backends->push_back(
|
| + base::MakeUnique<chromeos::FileSystemBackend>(
|
| + nullptr, nullptr, nullptr, nullptr, nullptr, external_mount_points,
|
| + storage::ExternalMountPoints::GetSystemInstance()));
|
| }
|
| };
|
|
|
|
|