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

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

Issue 11088012: [Win, MediaGallery] Enumerate and handle mtp device attach/detach events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 8 years, 2 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_constants.h
diff --git a/chrome/browser/system_monitor/removable_device_constants.h b/chrome/browser/system_monitor/removable_device_constants.h
index 1b62c0532dcc9b42483c538dee61bbf2ff51e6c2..058524c9a94523e3e6b836a4379391fcfd5991d3 100644
--- a/chrome/browser/system_monitor/removable_device_constants.h
+++ b/chrome/browser/system_monitor/removable_device_constants.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_
#include "build/build_config.h"
+#include "base/string16.h"
namespace chrome {
@@ -13,17 +14,25 @@ namespace chrome {
extern const char kFSUniqueIdPrefix[];
extern const char kVendorModelSerialPrefix[];
-#if defined(OS_LINUX)
+// Delimiter constants used in device label and unique id.
+extern const char kNonSpaceDelim[];
+extern const char kSpaceDelim[];
+
// Delimiter constants used in device label to specify data storage id.
extern const char kLeftParen[];
vandebo (ex-Chrome) 2012/10/26 20:32:10 Can you do a cleanup cl to just remove these?
kmadhusu 2012/10/26 22:23:26 sure.
extern const char kRightParen[];
+#if defined(OS_LINUX)
extern const char kVendorModelVolumeStoragePrefix[];
#endif
-// Delimiter constants used in device label and unique id.
-extern const char kNonSpaceDelim[];
-extern const char kSpaceDelim[];
+#if defined(OS_WIN)
+// Delimiter constant used in mtp device storage unique id.
+extern const char16 kMtpDeviceStorageIdPrefix[];
+
+// Windows portable device interface GUID constant.
+extern const char16 kWPDDevInterfaceGUID[];
+#endif
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698