Index: chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc b/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
index 2796dc69d260e8f1197beceff02061c3720d50dd..ec62720786f082b4489356e4ecb64f2ba5a34756 100644 |
--- a/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
@@ -32,6 +32,7 @@ const char kPropertyDevicePath[] = "devicePath"; |
const char kPropertyFilePath[] = "filePath"; |
const char kPropertyLabel[] = "label"; |
const char kPropertyPath[] = "path"; |
+const char kPropertyDeviceType[] = "type"; |
// Link displayed on imageburner ui. |
const char kMoreInfoLink[] = |
@@ -190,6 +191,8 @@ class WebUIHandler |
disk_value->SetString(std::string(kPropertyLabel), label); |
disk_value->SetString(std::string(kPropertyFilePath), disk.file_path()); |
disk_value->SetString(std::string(kPropertyDevicePath), disk.device_path()); |
+ disk_value->SetString(std::string(kPropertyDeviceType), |
+ disks::DiskMountManager::DeviceTypeToString(disk.device_type())); |
} |
// Callback for the "getDevices" message. |