| Index: components/storage_monitor/portable_device_watcher_win.cc
|
| diff --git a/components/storage_monitor/portable_device_watcher_win.cc b/components/storage_monitor/portable_device_watcher_win.cc
|
| index ed850738e9fe438275eeae332c05e4e8fcda8ba4..29b77ffb69feaa48ef4bebef6c1bc29e2271d240 100644
|
| --- a/components/storage_monitor/portable_device_watcher_win.cc
|
| +++ b/components/storage_monitor/portable_device_watcher_win.cc
|
| @@ -301,7 +301,8 @@ bool IsMassStoragePortableDevice(const base::string16& pnp_device_id,
|
| const base::string16& device_name) {
|
| // Based on testing, if the pnp device id starts with "\\?\wpdbusenumroot#",
|
| // then the attached device belongs to a mass storage class.
|
| - if (base::StartsWith(pnp_device_id, L"\\\\?\\wpdbusenumroot#", false))
|
| + if (base::StartsWith(pnp_device_id, L"\\\\?\\wpdbusenumroot#",
|
| + base::CompareCase::INSENSITIVE_ASCII))
|
| return true;
|
|
|
| // If the device is a volume mounted device, |device_name| will be
|
|
|