OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_ |
6 #define CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_ | 6 #define CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "base/string16.h" |
9 | 10 |
10 namespace chrome { | 11 namespace chrome { |
11 | 12 |
12 // Prefix constants used in device unique id. | 13 // Prefix constants used in device unique id. |
13 extern const char kFSUniqueIdPrefix[]; | 14 extern const char kFSUniqueIdPrefix[]; |
14 extern const char kVendorModelSerialPrefix[]; | 15 extern const char kVendorModelSerialPrefix[]; |
15 | 16 |
16 #if defined(OS_LINUX) | |
17 // Delimiter constants used in device label to specify data storage id. | |
18 extern const char kLeftParen[]; | |
19 extern const char kRightParen[]; | |
20 | |
21 extern const char kVendorModelVolumeStoragePrefix[]; | |
22 #endif | |
23 | |
24 // Delimiter constants used in device label and unique id. | 17 // Delimiter constants used in device label and unique id. |
25 extern const char kNonSpaceDelim[]; | 18 extern const char kNonSpaceDelim[]; |
26 extern const char kSpaceDelim[]; | 19 extern const char kSpaceDelim[]; |
27 | 20 |
| 21 // Delimiter constants used in device label to specify data storage id. |
| 22 extern const char kLeftParen[]; |
| 23 extern const char kRightParen[]; |
| 24 |
| 25 #if defined(OS_LINUX) |
| 26 extern const char kVendorModelVolumeStoragePrefix[]; |
| 27 #endif |
| 28 |
| 29 #if defined(OS_WIN) |
| 30 // Delimiter constant used in mtp device storage unique id. |
| 31 extern const char16 kMtpDeviceStorageIdPrefix[]; |
| 32 |
| 33 // Windows portable device interface GUID constant. |
| 34 extern const char16 kWPDDevInterfaceGUID[]; |
| 35 #endif |
| 36 |
28 } // namespace chrome | 37 } // namespace chrome |
29 | 38 |
30 #endif // CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_ | 39 #endif // CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_ |
OLD | NEW |