| Index: disk.cc
|
| diff --git a/disk.cc b/disk.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fe0bf8c33ac49c4e334147f7f207cfeb0cfb65df
|
| --- /dev/null
|
| +++ b/disk.cc
|
| @@ -0,0 +1,35 @@
|
| +// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "disk.h"
|
| +
|
| +namespace cros_disks {
|
| +
|
| +// Keys that libcros expects to see on the wire.
|
| +// TODO(rtc): We should probably stuff these in a shared header...
|
| +const char kDeviceIsDrive[] = "DeviceIsDrive";
|
| +const char kDevicePresentationHide[] = "DevicePresentationHide";
|
| +const char kDeviceIsMounted[] = "DeviceIsMounted";
|
| +const char kDeviceMountPaths[] = "DeviceMountPaths";
|
| +const char kDeviceIsMediaAvailable[] = "DeviceIsMediaAvailable";
|
| +const char kNativePath[] = "NativePath";
|
| +const char kDeviceFile[] = "DeviceFile";
|
| +const char kLabel[] = "IdLabel";
|
| +const char kDriveModel[] = "DriveModel";
|
| +const char kPartitionSlave[] = "PartitionSlave";
|
| +const char kDriveIsRotational[] = "DriveIsRotational";
|
| +const char kDeviceIsOpticalDisc[] = "DeviceIsOpticalDisc";
|
| +const char kDeviceSize[] = "DeviceSize";
|
| +const char kReadOnly[] = "DeviceIsReadOnly";
|
| +
|
| +
|
| +// TODO(rtc): The constructor should set some defaults, but I'm still iterating
|
| +// on the data model.
|
| +Disk::Disk() {
|
| +}
|
| +
|
| +Disk::~Disk() {
|
| +}
|
| +
|
| +} // namespace cros_disks
|
|
|