| 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 15 matching lines...) Expand all Loading... |
| 26 // to be clearer where they come from. Also, most of these are partially or | 26 // to be clearer where they come from. Also, most of these are partially or |
| 27 // completely duplicated in third_party/dbus/service_constants.h. We should | 27 // completely duplicated in third_party/dbus/service_constants.h. We should |
| 28 // probably use enums from service_contstants directly. | 28 // probably use enums from service_contstants directly. |
| 29 namespace chromeos { | 29 namespace chromeos { |
| 30 | 30 |
| 31 // Enum describing types of mount used by cros-disks. | 31 // Enum describing types of mount used by cros-disks. |
| 32 enum MountType { | 32 enum MountType { |
| 33 MOUNT_TYPE_INVALID, | 33 MOUNT_TYPE_INVALID, |
| 34 MOUNT_TYPE_DEVICE, | 34 MOUNT_TYPE_DEVICE, |
| 35 MOUNT_TYPE_ARCHIVE, | 35 MOUNT_TYPE_ARCHIVE, |
| 36 // TODO(hidehiko): Drive is not managed by DiskMountManager nor |
| 37 // CrosDisksClient. Remove this after fileBrowserPrivate API is cleaned. |
| 36 MOUNT_TYPE_GOOGLE_DRIVE, | 38 MOUNT_TYPE_GOOGLE_DRIVE, |
| 37 MOUNT_TYPE_NETWORK_STORAGE, | |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 // Type of device. | 41 // Type of device. |
| 41 enum DeviceType { | 42 enum DeviceType { |
| 42 DEVICE_TYPE_UNKNOWN, | 43 DEVICE_TYPE_UNKNOWN, |
| 43 DEVICE_TYPE_USB, // USB stick. | 44 DEVICE_TYPE_USB, // USB stick. |
| 44 DEVICE_TYPE_SD, // SD card. | 45 DEVICE_TYPE_SD, // SD card. |
| 45 DEVICE_TYPE_OPTICAL_DISC, // e.g. Optical disc excluding DVD. | 46 DEVICE_TYPE_OPTICAL_DISC, // e.g. Optical disc excluding DVD. |
| 46 DEVICE_TYPE_MOBILE, // Storage on a mobile device (e.g. Android). | 47 DEVICE_TYPE_MOBILE, // Storage on a mobile device (e.g. Android). |
| 47 DEVICE_TYPE_DVD, // DVD. | 48 DEVICE_TYPE_DVD, // DVD. |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 // Create() should be used instead. | 289 // Create() should be used instead. |
| 289 CrosDisksClient(); | 290 CrosDisksClient(); |
| 290 | 291 |
| 291 private: | 292 private: |
| 292 DISALLOW_COPY_AND_ASSIGN(CrosDisksClient); | 293 DISALLOW_COPY_AND_ASSIGN(CrosDisksClient); |
| 293 }; | 294 }; |
| 294 | 295 |
| 295 } // namespace chromeos | 296 } // namespace chromeos |
| 296 | 297 |
| 297 #endif // CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ | 298 #endif // CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_ |
| OLD | NEW |