commit | c7a6d1a4e31c14a723cf80c70909e6581e43e00b | [log] [tgz] |
---|---|---|
author | François Degros <[email protected]> | Wed Oct 26 00:06:04 2022 |
committer | Chromium LUCI CQ <[email protected]> | Wed Oct 26 00:06:04 2022 |
tree | 467dd246dcb2308fb9b19015ba478a493a55e0b5 | |
parent | baf1d602e31f633dd0690c928406dcd695c8652e [diff] [blame] |
Files app: Use new cros-disks error constants Renamed: kNone -> kSuccess kUnknown -> kUnknownError kInternal -> kInternalError Bug: 1368408 Change-Id: Ia41d24ff73e80f65a5d65cca06d5319522c4b208 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3977333 Commit-Queue: François Degros <[email protected]> Reviewed-by: Austin Tankiang <[email protected]> Cr-Commit-Position: refs/heads/main@{#1063584}
diff --git a/chromeos/ash/components/drivefs/drivefs_session.cc b/chromeos/ash/components/drivefs/drivefs_session.cc index ded5a31..3f5f308 100644 --- a/chromeos/ash/components/drivefs/drivefs_session.cc +++ b/chromeos/ash/components/drivefs/drivefs_session.cc
@@ -59,7 +59,7 @@ std::unique_ptr<ash::disks::MountPoint> mount_point) { DCHECK(callback_); - if (error_code != ash::MountError::kNone) { + if (error_code != ash::MountError::kSuccess) { LOG(WARNING) << "DriveFs mount failed with error: " << error_code; std::move(callback_).Run({}); return;