| Index: chrome/browser/storage_monitor/storage_info.cc
|
| diff --git a/chrome/browser/storage_monitor/storage_info.cc b/chrome/browser/storage_monitor/storage_info.cc
|
| index 3f066c38f2fb70138ed0879a116ecfb80975ec55..b05fd7adb32bf31d61256356fa789a539a1cc7f0 100644
|
| --- a/chrome/browser/storage_monitor/storage_info.cc
|
| +++ b/chrome/browser/storage_monitor/storage_info.cc
|
| @@ -130,4 +130,16 @@ bool StorageInfo::IsMassStorageDevice(const std::string& device_id) {
|
| type == PICASA);
|
| }
|
|
|
| +// static
|
| +bool StorageInfo::IsITunesDevice(const std::string& device_id) {
|
| + Type type;
|
| + return CrackDeviceId(device_id, &type, NULL) && type == ITUNES;
|
| +}
|
| +
|
| +// static
|
| +bool StorageInfo::IsPicasaDevice(const std::string& device_id) {
|
| + Type type;
|
| + return CrackDeviceId(device_id, &type, NULL) && type == PICASA;
|
| +}
|
| +
|
| } // namespace chrome
|
|
|