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

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

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 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 const char kNonSpaceDelim[] = ":";
13 const char kSpaceDelim[] = " ";
14
12 #if defined(OS_LINUX) 15 #if defined(OS_LINUX)
13 const char kLeftParen[] = "("; 16 const char kLeftParen[] = "(";
14 const char kRightParen[] = ")"; 17 const char kRightParen[] = ")";
15 const char kVendorModelVolumeStoragePrefix[] = "VendorModelVolumeStorage:"; 18 const char kVendorModelVolumeStoragePrefix[] = "VendorModelVolumeStorage:";
16 #endif 19 #endif
17 20
18 const char kNonSpaceDelim[] = ":"; 21 #if defined(OS_WIN)
19 const char kSpaceDelim[] = " "; 22 const char16 kMtpDeviceStorageIdPrefix[] = L"StorageSerial:";
23 const char16 kWPDDevInterfaceGUID[] = L"{6ac27878-a6fa-4155-ba85-f98f491d4f33}";
24 #endif
20 25
21 } // namespace chrome 26 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698