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

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

Issue 11573048: [Media Galleries] Move RemovableStorageInfo notifications to chrome namespace (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working on windows 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/media_transfer_protocol_device_observer_linux.h
diff --git a/chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux.h b/chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux.h
index a9df128d16c6092df5b1278aba8b04448bf6398a..fd40f1f01aae7fe5673011f2eda699c543a71359 100644
--- a/chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux.h
+++ b/chrome/browser/system_monitor/media_transfer_protocol_device_observer_linux.h
@@ -9,7 +9,7 @@
#include <string>
#include "base/string16.h"
-#include "base/system_monitor/system_monitor.h"
+#include "chrome/browser/system_monitor/removable_storage_notifications.h"
#include "device/media_transfer_protocol/media_transfer_protocol_manager.h"
class FilePath;
@@ -24,7 +24,7 @@ typedef void (*GetStorageInfoFunc)(const std::string& storage_name,
std::string* location);
// Helper class to send MTP storage attachment and detachment events to
-// SystemMonitor.
+// RemovableStorageNotifications.
class MediaTransferProtocolDeviceObserverLinux
: public device::MediaTransferProtocolManager::Observer {
public:
@@ -38,7 +38,7 @@ class MediaTransferProtocolDeviceObserverLinux
// Returns false if unable to find the storage.
bool GetStorageInfoForPath(
const FilePath& path,
- base::SystemMonitor::RemovableStorageInfo* storage_info) const;
+ RemovableStorageNotifications::StorageInfo* storage_info) const;
protected:
// Only used in unit tests.
@@ -52,7 +52,7 @@ class MediaTransferProtocolDeviceObserverLinux
private:
// Mapping of storage location and mtp storage info object.
- typedef std::map<std::string, base::SystemMonitor::RemovableStorageInfo>
+ typedef std::map<std::string, RemovableStorageNotifications::StorageInfo>
StorageLocationToInfoMap;
// Enumerate existing mtp storage devices.

Powered by Google App Engine
This is Rietveld 408576698