Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1904)

Unified Diff: components/storage_monitor/storage_monitor_mac.mm

Issue 120303003: [StorageMonitor] Move gallery name generation to StorageInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittest build error on mac/linux/chromeos Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/storage_monitor/storage_monitor_mac.mm
diff --git a/components/storage_monitor/storage_monitor_mac.mm b/components/storage_monitor/storage_monitor_mac.mm
index a2ba2e3a1b5ba0a438ff92abeb412a885bea4f7e..d8055dce9fa01ae0d477f659874fadb079ea2ec2 100644
--- a/components/storage_monitor/storage_monitor_mac.mm
+++ b/components/storage_monitor/storage_monitor_mac.mm
@@ -101,8 +101,8 @@ StorageInfo BuildStorageInfo(
if (!unique_id.empty())
device_id = StorageInfo::MakeDeviceId(device_type, unique_id);
- return StorageInfo(device_id, base::string16(), location.value(), label,
- vendor, model, size_in_bytes);
+ return StorageInfo(device_id, location.value(), label, vendor, model,
+ size_in_bytes);
}
void GetDiskInfoAndUpdateOnFileThread(

Powered by Google App Engine
This is Rietveld 408576698