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

Unified Diff: components/storage_monitor/test_storage_monitor.cc

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/test_storage_monitor.cc
diff --git a/components/storage_monitor/test_storage_monitor.cc b/components/storage_monitor/test_storage_monitor.cc
index 34cca9be6d3bea2d2eb50afeb3c44bcd1082a8be..fb5cc57b1b92f899e1b0b97c971feb456e2af8b5 100644
--- a/components/storage_monitor/test_storage_monitor.cc
+++ b/components/storage_monitor/test_storage_monitor.cc
@@ -87,8 +87,8 @@ bool TestStorageMonitor::GetStorageInfoForPath(
std::string device_id = StorageInfo::MakeDeviceId(
StorageInfo::FIXED_MASS_STORAGE, path.AsUTF8Unsafe());
*device_info =
- StorageInfo(device_id, path.BaseName().LossyDisplayName(), path.value(),
- base::string16(), base::string16(), base::string16(), 0);
+ StorageInfo(device_id, path.value(), base::string16(), base::string16(),
+ base::string16(), 0);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698