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

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 review 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..7be9b098bff7547174ebc45954202997d3952fb0 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,6 +14,10 @@ namespace chrome {
extern const char kFSUniqueIdPrefix[];
extern const char kVendorModelSerialPrefix[];
+// Delimiter constants used in device label and unique id.
+extern const char kNonSpaceDelim[];
+extern const char kSpaceDelim[];
+
#if defined(OS_LINUX)
// Delimiter constants used in device label to specify data storage id.
extern const char kLeftParen[];
@@ -21,9 +26,13 @@ extern const char kRightParen[];
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