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

Unified Diff: chrome/browser/system_monitor/removable_device_notifications_window_win.h

Issue 11297002: [Media Gallery] Added code to support mtp device media file system on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 8 years, 1 month 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/system_monitor/removable_device_notifications_window_win.h
diff --git a/chrome/browser/system_monitor/removable_device_notifications_window_win.h b/chrome/browser/system_monitor/removable_device_notifications_window_win.h
index 8fce7697db4ea885b76db59acbe342ff55c9fb10..b6d4fb9585c63a4487105aed307e5398ae53f700 100644
--- a/chrome/browser/system_monitor/removable_device_notifications_window_win.h
+++ b/chrome/browser/system_monitor/removable_device_notifications_window_win.h
@@ -35,6 +35,14 @@ class RemovableDeviceNotificationsWindowWin {
// Must be called after the file thread is created.
void Init();
+ // Gets the MTP device storage information specified by |storage_device_id|.
+ // On success, returns true and fills in |device_location| with device
+ // interface details and |storage_object_id| with storage object temporary
+ // identifier.
+ bool GetMTPStorageInfoFromDeviceId(const std::string& storage_device_id,
+ string16* device_location,
+ string16* storage_object_id);
+
// Finds the device that contains |path| and populates |device_info|.
// Returns false if unable to find the device.
bool GetDeviceInfoForPath(

Powered by Google App Engine
This is Rietveld 408576698