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

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

Issue 12211084: [Media Galleries] Populate volume metadata in ChromeOS/Linux (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix linux problems Created 7 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
« no previous file with comments | « chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/storage_monitor/test_volume_mount_watcher_win.cc
diff --git a/chrome/browser/storage_monitor/test_volume_mount_watcher_win.cc b/chrome/browser/storage_monitor/test_volume_mount_watcher_win.cc
index d3b7ef78df7beb0a5f76c06ac81cbc252db98621..2dedcd8cd3b8dabc5349a0c46460ded9622aa4a4 100644
--- a/chrome/browser/storage_monitor/test_volume_mount_watcher_win.cc
+++ b/chrome/browser/storage_monitor/test_volume_mount_watcher_win.cc
@@ -57,7 +57,7 @@ bool GetMassStorageDeviceDetails(const base::FilePath& device_path,
*total_size_in_bytes = 1000000;
if (unique_id) {
*unique_id = "\\\\?\\Volume{00000000-0000-0000-0000-000000000000}\\";
- (*unique_id)[11] = path.value()[0];
+ (*unique_id)[11] = device_path.value()[0];
}
if (name)
*name = path.Append(L" Drive").LossyDisplayName();
« no previous file with comments | « chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698