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

Unified Diff: components/storage_monitor/media_transfer_protocol_device_observer_linux.h

Issue 287613002: Fill |model_name| and |vendor_name| fields of StorageInfo for MTP devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test for the newly filled members. Created 6 years, 7 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 | components/storage_monitor/media_transfer_protocol_device_observer_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/media_transfer_protocol_device_observer_linux.h
diff --git a/components/storage_monitor/media_transfer_protocol_device_observer_linux.h b/components/storage_monitor/media_transfer_protocol_device_observer_linux.h
index 84fee1db1c87230b79f2e07ebb0975d69f625387..224cafaf8505bc4360e58e24976c11c62fb15814 100644
--- a/components/storage_monitor/media_transfer_protocol_device_observer_linux.h
+++ b/components/storage_monitor/media_transfer_protocol_device_observer_linux.h
@@ -19,13 +19,15 @@ class FilePath;
namespace storage_monitor {
// Gets the mtp device information given a |storage_name|. On success,
-// fills in |id|, |name| and |location|.
+// fills in |id|, |name|, |location|, |vendor_name|, and |product_name|.
typedef void (*GetStorageInfoFunc)(
const std::string& storage_name,
device::MediaTransferProtocolManager* mtp_manager,
std::string* id,
base::string16* name,
- std::string* location);
+ std::string* location,
+ base::string16* vendor_name,
+ base::string16* product_name);
// Helper class to send MTP storage attachment and detachment events to
// StorageMonitor.
« no previous file with comments | « no previous file | components/storage_monitor/media_transfer_protocol_device_observer_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698