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

Unified Diff: chrome/browser/media_gallery/removable_device_notifications_linux.h

Issue 10880078: Linux removable device notifications: notify about non-dcim devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 4 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/media_gallery/removable_device_notifications_linux.h
diff --git a/chrome/browser/media_gallery/removable_device_notifications_linux.h b/chrome/browser/media_gallery/removable_device_notifications_linux.h
index a2419a28e5b0bd93302d8b88a48440dfe181ccde..ee67e9478da10b09ccf3f76bba23183f6a604d82 100644
--- a/chrome/browser/media_gallery/removable_device_notifications_linux.h
+++ b/chrome/browser/media_gallery/removable_device_notifications_linux.h
@@ -26,8 +26,8 @@
class FilePath;
-// Gets the media device information given a |device_path|. On success,
-// returns true and fills in |unique_id|, |name|, and |removable|.
+// Gets device information given a |device_path|. On success, returns true and
+// fills in |unique_id|, |name|, and |removable|.
typedef bool (*GetDeviceInfoFunc)(const FilePath& device_path,
std::string* unique_id, string16* name,
bool* removable);
@@ -82,7 +82,6 @@ class RemovableDeviceNotificationsLinux
FilePath mount_device;
std::string device_id;
string16 device_name;
- bool has_dcim;
};
// Mapping of mount points to MountPointInfo.
@@ -105,12 +104,9 @@ class RemovableDeviceNotificationsLinux
void UpdateMtab();
// Adds |mount_device| as mounted on |mount_point|. If the device is a new
- // media device, SystemMonitor is notified.
+ // device SystemMonitor is notified.
void AddNewMount(const FilePath& mount_device, const FilePath& mount_point);
- // Removes media device with a given device id.
- void RemoveMediaMount(const std::string& device_id);
-
// Whether Init() has been called or not.
bool initialized_;

Powered by Google App Engine
This is Rietveld 408576698