Chromium Code Reviews| 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 #include "chrome/browser/system_monitor/removable_device_constants.h" | 5 #include "chrome/browser/system_monitor/removable_device_constants.h" |
| 6 | 6 |
| 7 namespace chrome { | 7 namespace chrome { |
| 8 | 8 |
| 9 const char kFSUniqueIdPrefix[] = "UUID:"; | 9 const char kFSUniqueIdPrefix[] = "UUID:"; |
| 10 const char kVendorModelSerialPrefix[] = "VendorModelSerial:"; | 10 const char kVendorModelSerialPrefix[] = "VendorModelSerial:"; |
| 11 | 11 |
| 12 #if defined(OS_LINUX) | 12 #if defined(OS_LINUX) |
| 13 const char kVendorModelVolumeStoragePrefix[] = "VendorModelVolumeStorage:"; | 13 const char kVendorModelVolumeStoragePrefix[] = "VendorModelVolumeStorage:"; |
| 14 #endif | 14 #endif |
| 15 | 15 |
| 16 #if defined(OS_WIN) | 16 #if defined(OS_WIN) |
| 17 const char16 kWPDDevInterfaceGUID[] = L"{6ac27878-a6fa-4155-ba85-f98f491d4f33}"; | 17 const char16 kWPDDevInterfaceGUID[] = L"{6ac27878-a6fa-4155-ba85-f98f491d4f33}"; |
| 18 | |
| 19 const char16 kbmpFormat[] = L".bmp"; | |
|
Lei Zhang
2012/11/01 02:34:57
kBmpFormat, ditto below.
Peter Kasting
2012/11/01 04:17:37
kBMPFormat would be even better.
But must you def
kmadhusu
2012/11/01 17:59:00
It is not required to define these symbols in this
kmadhusu
2012/11/01 17:59:00
Inlined the values directly in the function.
| |
| 20 const char16 kexifFormat[] = L".jpg"; | |
| 21 const char16 kgifFormat[] = L".gif"; | |
| 22 const char16 kjfifFormat[] = L".jfif"; | |
| 23 const char16 kjpegxrFormat[] = L".jxr"; | |
| 24 const char16 kjpxFormat[] = L".jpx"; | |
| 25 const char16 kjp2Format[] = L".jp2"; | |
| 26 const char16 kpictFormat[] = L".pic"; | |
| 27 const char16 kpngFormat[] = L".png"; | |
| 18 #endif | 28 #endif |
| 19 | 29 |
| 20 } // namespace chrome | 30 } // namespace chrome |
| OLD | NEW |