| Index: chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc
|
| diff --git a/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc b/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc
|
| index 8d5e73947a7eed44b6dba952fe6a5286c2d941ce..a2619f0a5648193aae228ce96f32dfa81e3e8156 100644
|
| --- a/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc
|
| +++ b/chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc
|
| @@ -45,6 +45,7 @@ TEST(ChromeOSFileSystemBackendTest, DefaultMountPoints) {
|
| nullptr, // file_system_provider_delegate
|
| nullptr, // mtp_delegate
|
| nullptr, // arc_content_delegate
|
| + nullptr, // arc_documents_provider_delegate
|
| mount_points.get(), storage::ExternalMountPoints::GetSystemInstance());
|
| backend.AddSystemMountPoints();
|
| std::vector<base::FilePath> root_dirs = backend.GetRootDirectories();
|
| @@ -67,12 +68,13 @@ TEST(ChromeOSFileSystemBackendTest, GetRootDirectories) {
|
| scoped_refptr<storage::ExternalMountPoints> system_mount_points(
|
| storage::ExternalMountPoints::CreateRefCounted());
|
|
|
| - chromeos::FileSystemBackend backend(nullptr, // drive_delegate
|
| - nullptr, // file_system_provider_delegate
|
| - nullptr, // mtp_delegate
|
| - nullptr, // arc_content_delegate
|
| - mount_points.get(),
|
| - system_mount_points.get());
|
| + chromeos::FileSystemBackend backend(
|
| + nullptr, // drive_delegate
|
| + nullptr, // file_system_provider_delegate
|
| + nullptr, // mtp_delegate
|
| + nullptr, // arc_content_delegate
|
| + nullptr, // arc_documents_provider_delegate
|
| + mount_points.get(), system_mount_points.get());
|
|
|
| const size_t initial_root_dirs_size = backend.GetRootDirectories().size();
|
|
|
| @@ -112,12 +114,13 @@ TEST(ChromeOSFileSystemBackendTest, AccessPermissions) {
|
| storage::ExternalMountPoints::CreateRefCounted());
|
| scoped_refptr<storage::ExternalMountPoints> system_mount_points(
|
| storage::ExternalMountPoints::CreateRefCounted());
|
| - chromeos::FileSystemBackend backend(nullptr, // drive_delegate
|
| - nullptr, // file_system_provider_delegate
|
| - nullptr, // mtp_delegate
|
| - nullptr, // arc_content_delegate
|
| - mount_points.get(),
|
| - system_mount_points.get());
|
| + chromeos::FileSystemBackend backend(
|
| + nullptr, // drive_delegate
|
| + nullptr, // file_system_provider_delegate
|
| + nullptr, // mtp_delegate
|
| + nullptr, // arc_content_delegate
|
| + nullptr, // arc_documents_provider_delegate
|
| + mount_points.get(), system_mount_points.get());
|
|
|
| std::string extension("ddammdhioacbehjngdmkjcjbnfginlla");
|
|
|
| @@ -181,12 +184,13 @@ TEST(ChromeOSFileSystemBackendTest, GetVirtualPathConflictWithSystemPoints) {
|
| storage::ExternalMountPoints::CreateRefCounted());
|
| scoped_refptr<storage::ExternalMountPoints> system_mount_points(
|
| storage::ExternalMountPoints::CreateRefCounted());
|
| - chromeos::FileSystemBackend backend(nullptr, // drive_delegate
|
| - nullptr, // file_system_provider_delegate
|
| - nullptr, // mtp_delegate
|
| - nullptr, // arc_content_delegate
|
| - mount_points.get(),
|
| - system_mount_points.get());
|
| + chromeos::FileSystemBackend backend(
|
| + nullptr, // drive_delegate
|
| + nullptr, // file_system_provider_delegate
|
| + nullptr, // mtp_delegate
|
| + nullptr, // arc_content_delegate
|
| + nullptr, // arc_documents_provider_delegate
|
| + mount_points.get(), system_mount_points.get());
|
|
|
| const storage::FileSystemType type = storage::kFileSystemTypeNativeLocal;
|
| const storage::FileSystemMountOption option =
|
|
|