| Index: chrome/browser/storage_monitor/storage_monitor_linux.cc
|
| diff --git a/chrome/browser/storage_monitor/storage_monitor_linux.cc b/chrome/browser/storage_monitor/storage_monitor_linux.cc
|
| index 340e479be35f394ba3ed7aed0de977cbe5f1aee0..8717f1799f44e2b6b3d70c580573e6f12ca7fd8b 100644
|
| --- a/chrome/browser/storage_monitor/storage_monitor_linux.cc
|
| +++ b/chrome/browser/storage_monitor/storage_monitor_linux.cc
|
| @@ -111,23 +111,6 @@ uint64 GetDeviceStorageSize(const base::FilePath& device_path,
|
| total_size_in_bytes * 512 : 0;
|
| }
|
|
|
| -// Constructs the device name from the device properties. If the device details
|
| -// are unavailable, returns an empty string.
|
| -void GetDeviceName(struct udev_device* device,
|
| - string16* out_volume_label,
|
| - string16* out_vendor_name,
|
| - string16* out_model_name) {
|
| - std::string device_label = GetUdevDevicePropertyValue(device, kLabel);
|
| - std::string vendor_name = GetUdevDevicePropertyValue(device, kVendor);
|
| - std::string model_name = GetUdevDevicePropertyValue(device, kModel);
|
| - if (out_volume_label)
|
| - *out_volume_label = UTF8ToUTF16(device_label);
|
| - if (out_vendor_name)
|
| - *out_vendor_name = UTF8ToUTF16(vendor_name);
|
| - if (out_model_name)
|
| - *out_model_name = UTF8ToUTF16(model_name);
|
| -}
|
| -
|
| // Gets the device information using udev library.
|
| scoped_ptr<StorageInfo> GetDeviceInfo(const base::FilePath& device_path,
|
| const base::FilePath& mount_point) {
|
|
|