| 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 |
| 17 // Delimiter constants used in device label and unique id. |
| 18 extern const char kNonSpaceDelim[]; |
| 19 extern const char kSpaceDelim[]; |
| 20 |
| 16 #if defined(OS_LINUX) | 21 #if defined(OS_LINUX) |
| 17 // Delimiter constants used in device label to specify data storage id. | 22 // Delimiter constants used in device label to specify data storage id. |
| 18 extern const char kLeftParen[]; | 23 extern const char kLeftParen[]; |
| 19 extern const char kRightParen[]; | 24 extern const char kRightParen[]; |
| 20 | 25 |
| 21 extern const char kVendorModelVolumeStoragePrefix[]; | 26 extern const char kVendorModelVolumeStoragePrefix[]; |
| 22 #endif | 27 #endif |
| 23 | 28 |
| 24 // Delimiter constants used in device label and unique id. | 29 #if defined(OS_WIN) |
| 25 extern const char kNonSpaceDelim[]; | 30 // Delimiter constant used in mtp device storage unique id. |
| 26 extern const char kSpaceDelim[]; | 31 extern const char16 kMtpDeviceStorageIdPrefix[]; |
| 32 #endif |
| 27 | 33 |
| 28 } // namespace chrome | 34 } // namespace chrome |
| 29 | 35 |
| 30 #endif // CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_ | 36 #endif // CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_CONSTANTS_H_ |
| OLD | NEW |