Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: disk.cc

Issue 6824032: First batch of cros-disk changes (Closed) Base URL: ssh://gitrw.chromium.org:9222/cros-disks.git@master
Patch Set: adds set_ and removes j's Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « disk.h ('k') | disk-manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « disk.h ('k') | disk-manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698