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

Side by Side Diff: chrome/browser/system_monitor/removable_device_constants.cc

Issue 11297002: [Media Gallery] Added code to support mtp device media file system on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698