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

Unified Diff: chrome/browser/storage_monitor/test_storage_monitor.cc

Issue 19489006: Media Galleries: Move gallery name generation back to StorageMonitor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 7 years, 4 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: chrome/browser/storage_monitor/test_storage_monitor.cc
===================================================================
--- chrome/browser/storage_monitor/test_storage_monitor.cc (revision 218837)
+++ chrome/browser/storage_monitor/test_storage_monitor.cc (working copy)
@@ -99,9 +99,8 @@
std::string device_id = StorageInfo::MakeDeviceId(
StorageInfo::FIXED_MASS_STORAGE, path.AsUTF8Unsafe());
- *device_info =
- StorageInfo(device_id, path.BaseName().LossyDisplayName(), path.value(),
- string16(), string16(), string16(), 0);
+ *device_info = StorageInfo(device_id, path.value(), base::string16(),
+ base::string16(), base::string16(), 0);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698