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 08b7131c0d42cb5ad4be6c08614b322c7efae882..7f874e7f40befebdcb04504d3b266e450c889ed0 100644 |
--- a/chrome/browser/intents/device_attached_intent_source.cc |
+++ b/chrome/browser/intents/device_attached_intent_source.cc |
@@ -104,7 +104,7 @@ void DeviceAttachedIntentSource::OnRemovableStorageAttached( |
// TODO(kmadhusu): Handle all device types. http://crbug.com/140353. |
MediaStorageUtil::Type type; |
MediaStorageUtil::CrackDeviceId(id, &type, NULL); |
- if (type == MediaStorageUtil::USB_MTP) |
+ if (type == MediaStorageUtil::MTP_OR_PTP) |
return; |
DCHECK(MediaStorageUtil::IsRemovableDevice(id)); |