OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "disk.h" |
| 6 |
| 7 namespace cros_disks { |
| 8 |
| 9 // Keys that libcros expects to see on the wire. |
| 10 // TODO(rtc): We should probably stuff these in a shared header... |
| 11 const char kDeviceIsDrive[] = "DeviceIsDrive"; |
| 12 const char kDevicePresentationHide[] = "DevicePresentationHide"; |
| 13 const char kDeviceIsMounted[] = "DeviceIsMounted"; |
| 14 const char kDeviceMountPaths[] = "DeviceMountPaths"; |
| 15 const char kDeviceIsMediaAvailable[] = "DeviceIsMediaAvailable"; |
| 16 const char kNativePath[] = "NativePath"; |
| 17 const char kDeviceFile[] = "DeviceFile"; |
| 18 const char kLabel[] = "IdLabel"; |
| 19 const char kDriveModel[] = "DriveModel"; |
| 20 const char kPartitionSlave[] = "PartitionSlave"; |
| 21 const char kDriveIsRotational[] = "DriveIsRotational"; |
| 22 const char kDeviceIsOpticalDisc[] = "DeviceIsOpticalDisc"; |
| 23 const char kDeviceSize[] = "DeviceSize"; |
| 24 const char kReadOnly[] = "DeviceIsReadOnly"; |
| 25 |
| 26 |
| 27 // TODO(rtc): The constructor should set some defaults, but I'm still iterating |
| 28 // on the data model. |
| 29 Disk::Disk() { |
| 30 } |
| 31 |
| 32 Disk::~Disk() { |
| 33 } |
| 34 |
| 35 } // namespace cros_disks |
OLD | NEW |