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

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 comment and disabled MediaFileSystemRegistryTest.GalleryNameMTP Created 7 years, 11 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: 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 57d2e44ef901cda9a8090d0ff20e2e2cfbbbb55e..b88a1f4533cb84968e34843fef16de483e1569d2 100644
--- a/chrome/browser/system_monitor/removable_device_notifications_window_win.h
+++ b/chrome/browser/system_monitor/removable_device_notifications_window_win.h
@@ -30,13 +30,15 @@ class RemovableDeviceNotificationsWindowWin
// Must be called after the file thread is created.
void Init();
- // Finds the device that contains |path| and populates |device_info|.
- // Returns false if unable to find the device.
+ // RemovableStorageNotifications:
virtual bool GetDeviceInfoForPath(
const FilePath& path,
base::SystemMonitor::RemovableStorageInfo* device_info) const OVERRIDE;
-
virtual uint64 GetStorageSize(const std::string& location) const OVERRIDE;
+ virtual bool GetMTPStorageInfoFromDeviceId(
+ const std::string& storage_device_id,
+ string16* device_location,
+ string16* storage_object_id) const OVERRIDE;
private:
class PortableDeviceNotifications;

Powered by Google App Engine
This is Rietveld 408576698