Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 22 // Enum describing types of mount used by cros-disks. | 22 // Enum describing types of mount used by cros-disks. |
| 23 enum MountType { | 23 enum MountType { |
| 24 MOUNT_TYPE_INVALID, | 24 MOUNT_TYPE_INVALID, |
| 25 MOUNT_TYPE_DEVICE, | 25 MOUNT_TYPE_DEVICE, |
| 26 MOUNT_TYPE_ARCHIVE, | 26 MOUNT_TYPE_ARCHIVE, |
| 27 MOUNT_TYPE_NETWORK_STORAGE, | 27 MOUNT_TYPE_NETWORK_STORAGE, |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 // Type of device. | 30 // Type of device. |
| 31 enum DeviceType { | 31 enum DeviceType { |
| 32 FLASH, | 32 DEVICE_TYPE_UNKNOWN, |
| 33 HDD, | 33 DEVICE_TYPE_USB, |
| 34 OPTICAL, | 34 DEVICE_TYPE_SD, |
| 35 UNDEFINED, | 35 DEVICE_TYPE_OPTICAL, |
|
satorux1
2012/01/23 22:18:55
Adding a comment may be helpful.
DEVICE_TYPE_OPTI
tbarzic
2012/01/23 22:42:40
Done.
| |
| 36 DEVICE_TYPE_MOBILE | |
|
satorux1
2012/01/23 22:18:55
what's mobile? could you add some comment?
tbarzic
2012/01/23 22:42:40
Done.
| |
| 36 }; | 37 }; |
| 37 | 38 |
| 38 // Mount error code used by cros-disks. | 39 // Mount error code used by cros-disks. |
| 39 enum MountError { | 40 enum MountError { |
| 40 MOUNT_ERROR_NONE = 0, | 41 MOUNT_ERROR_NONE = 0, |
| 41 MOUNT_ERROR_UNKNOWN = 1, | 42 MOUNT_ERROR_UNKNOWN = 1, |
| 42 MOUNT_ERROR_INTERNAL = 2, | 43 MOUNT_ERROR_INTERNAL = 2, |
| 43 MOUNT_ERROR_UNKNOWN_FILESYSTEM = 101, | 44 MOUNT_ERROR_UNKNOWN_FILESYSTEM = 101, |
| 44 MOUNT_ERROR_UNSUPORTED_FILESYSTEM = 102, | 45 MOUNT_ERROR_UNSUPORTED_FILESYSTEM = 102, |
| 45 MOUNT_ERROR_INVALID_ARCHIVE = 201, | 46 MOUNT_ERROR_INVALID_ARCHIVE = 201, |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 217 // Create() should be used instead. | 218 // Create() should be used instead. |
| 218 CrosDisksClient(); | 219 CrosDisksClient(); |
| 219 | 220 |
| 220 private: | 221 private: |
| 221 DISALLOW_COPY_AND_ASSIGN(CrosDisksClient); | 222 DISALLOW_COPY_AND_ASSIGN(CrosDisksClient); |
| 222 }; | 223 }; |
| 223 | 224 |
| 224 } // namespace chromeos | 225 } // namespace chromeos |
| 225 | 226 |
| 226 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ | 227 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ |
| OLD | NEW |