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

Unified Diff: chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.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 | « no previous file | chrome/browser/storage_monitor/storage_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.cc
diff --git a/chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.cc b/chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.cc
index 45167c97b0a0b83ff4dca55d82d04f4d15fb419f..beae98262f04dd028ee10ed2e7f2c105f0b61500 100644
--- a/chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.cc
+++ b/chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.cc
@@ -212,6 +212,7 @@ void MediaTransferProtocolDeviceObserverLinux::StorageChanged(
DCHECK(!ContainsKey(storage_map_, location));
StorageInfo storage_info(device_id, device_name, location);
+ storage_info.storage_label = device_name;
storage_map_[location] = storage_info;
notifications_->ProcessAttach(storage_info);
} else {
« no previous file with comments | « no previous file | chrome/browser/storage_monitor/storage_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698