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

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

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 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 #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[];
vandebo (ex-Chrome) 2012/10/26 20:32:10 Can you do a cleanup cl to just remove these?
kmadhusu 2012/10/26 22:23:26 sure.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698