| Index: chrome/browser/intents/device_attached_intent_source.cc
|
| diff --git a/chrome/browser/intents/device_attached_intent_source.cc b/chrome/browser/intents/device_attached_intent_source.cc
|
| index 7f874e7f40befebdcb04504d3b266e450c889ed0..101afc5cfd3cd6ada91b6b1a2a8fd44d431462c3 100644
|
| --- a/chrome/browser/intents/device_attached_intent_source.cc
|
| +++ b/chrome/browser/intents/device_attached_intent_source.cc
|
| @@ -102,9 +102,7 @@ void DeviceAttachedIntentSource::OnRemovableStorageAttached(
|
|
|
| // Only handle mass storage for now.
|
| // TODO(kmadhusu): Handle all device types. http://crbug.com/140353.
|
| - MediaStorageUtil::Type type;
|
| - MediaStorageUtil::CrackDeviceId(id, &type, NULL);
|
| - if (type == MediaStorageUtil::MTP_OR_PTP)
|
| + if (!MediaStorageUtil::IsMassStorageDevice(id))
|
| return;
|
| DCHECK(MediaStorageUtil::IsRemovableDevice(id));
|
|
|
|
|