| 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 #ifndef CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ | 6 #define CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // to be clearer where they come from. Also, most of these are partially or | 22 // to be clearer where they come from. Also, most of these are partially or |
| 23 // completely duplicated in third_party/dbus/service_constants.h. We should | 23 // completely duplicated in third_party/dbus/service_constants.h. We should |
| 24 // probably use enums from service_contstants directly. | 24 // probably use enums from service_contstants directly. |
| 25 namespace chromeos { | 25 namespace chromeos { |
| 26 | 26 |
| 27 // Enum describing types of mount used by cros-disks. | 27 // Enum describing types of mount used by cros-disks. |
| 28 enum MountType { | 28 enum MountType { |
| 29 MOUNT_TYPE_INVALID, | 29 MOUNT_TYPE_INVALID, |
| 30 MOUNT_TYPE_DEVICE, | 30 MOUNT_TYPE_DEVICE, |
| 31 MOUNT_TYPE_ARCHIVE, | 31 MOUNT_TYPE_ARCHIVE, |
| 32 MOUNT_TYPE_GDATA, | 32 MOUNT_TYPE_GOOGLE_DRIVE, |
| 33 MOUNT_TYPE_NETWORK_STORAGE, | 33 MOUNT_TYPE_NETWORK_STORAGE, |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 // Type of device. | 36 // Type of device. |
| 37 enum DeviceType { | 37 enum DeviceType { |
| 38 DEVICE_TYPE_UNKNOWN, | 38 DEVICE_TYPE_UNKNOWN, |
| 39 DEVICE_TYPE_USB, // USB stick. | 39 DEVICE_TYPE_USB, // USB stick. |
| 40 DEVICE_TYPE_SD, // SD card. | 40 DEVICE_TYPE_SD, // SD card. |
| 41 DEVICE_TYPE_OPTICAL_DISC, // e.g. Optical disc excluding DVD. | 41 DEVICE_TYPE_OPTICAL_DISC, // e.g. Optical disc excluding DVD. |
| 42 DEVICE_TYPE_MOBILE, // Storage on a mobile device (e.g. Android). | 42 DEVICE_TYPE_MOBILE, // Storage on a mobile device (e.g. Android). |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 // Create() should be used instead. | 292 // Create() should be used instead. |
| 293 CrosDisksClient(); | 293 CrosDisksClient(); |
| 294 | 294 |
| 295 private: | 295 private: |
| 296 DISALLOW_COPY_AND_ASSIGN(CrosDisksClient); | 296 DISALLOW_COPY_AND_ASSIGN(CrosDisksClient); |
| 297 }; | 297 }; |
| 298 | 298 |
| 299 } // namespace chromeos | 299 } // namespace chromeos |
| 300 | 300 |
| 301 #endif // CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ | 301 #endif // CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ |
| OLD | NEW |