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

Unified Diff: components/storage_monitor/media_transfer_protocol_device_observer_linux.cc

Issue 120303003: [StorageMonitor] Move gallery name generation to StorageInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 6 years, 10 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/media_transfer_protocol_device_observer_linux.cc
diff --git a/components/storage_monitor/media_transfer_protocol_device_observer_linux.cc b/components/storage_monitor/media_transfer_protocol_device_observer_linux.cc
index 5babbcac591cf8f4973df956b50870d25136872f..522edcc565e70d75a474720c62546bb8b1f2c964 100644
--- a/components/storage_monitor/media_transfer_protocol_device_observer_linux.cc
+++ b/components/storage_monitor/media_transfer_protocol_device_observer_linux.cc
@@ -203,8 +203,8 @@ void MediaTransferProtocolDeviceObserverLinux::StorageChanged(
DCHECK(!ContainsKey(storage_map_, location));
- StorageInfo storage_info(device_id, device_name, location, device_name,
- base::string16(), base::string16(), 0);
+ StorageInfo storage_info(device_id, location, device_name, base::string16(),
+ 0);
vandebo (ex-Chrome) 2014/03/03 19:58:31 Not enough args.
Haojian Wu 2014/03/04 05:00:12 Done.
storage_map_[location] = storage_info;
notifications_->ProcessAttach(storage_info);
} else {

Powered by Google App Engine
This is Rietveld 408576698