[Files app] Use MountPoint instead of MountPointInfo

Use the shorter name of this struct.
Use brace initialization when constructing MountPoint values.
Less code for the same thing.

BUG=chromium:1313346
TEST=autoninja -C out/Default unit_tests browser_tests components_unittests ash_components_unittests

Change-Id: Ie1973f3d056ac7950ac3d215a44da0597f0425f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3827458
Commit-Queue: François Degros <fdegros@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1034886}
diff --git a/chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc b/chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc
index 160143a..7ac0ef47 100644
--- a/chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc
+++ b/chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc
@@ -66,9 +66,8 @@
                   bool is_parent,
                   bool has_media,
                   bool on_boot_device) {
-    ash::disks::DiskMountManager::MountPointInfo mount_info(
-        device_path, kMountPath, ash::MountType::kDevice,
-        ash::disks::MOUNT_CONDITION_NONE);
+    ash::disks::DiskMountManager::MountPoint mount_info{
+        device_path, kMountPath, ash::MountType::kDevice};
     disk_mount_manager_mock_->CreateDiskEntryForMountDevice(
         mount_info, kDeviceId, kDeviceName, vendor_name, product_name,
         device_type, kDeviceSize, is_parent, has_media, on_boot_device,
diff --git a/chrome/browser/extensions/api/image_writer_private/test_utils.cc b/chrome/browser/extensions/api/image_writer_private/test_utils.cc
index 18c263b..ce77d4a3 100644
--- a/chrome/browser/extensions/api/image_writer_private/test_utils.cc
+++ b/chrome/browser/extensions/api/image_writer_private/test_utils.cc
@@ -246,9 +246,7 @@
 
   // Adds a disk entry for test_device_path_ with the same device and file path.
   disk_manager->CreateDiskEntryForMountDevice(
-      ash::disks::DiskMountManager::MountPointInfo(
-          test_device_path_.value(), "/dummy/mount", ash::MountType::kDevice,
-          ash::disks::MOUNT_CONDITION_NONE),
+      {test_device_path_.value(), "/dummy/mount", ash::MountType::kDevice},
       "device_id", "device_label", "Vendor", "Product", ash::DeviceType::kUSB,
       kTestFileSize, true, true, true, false, kTestFileSystemType);
   disk_manager->SetupDefaultReplies();