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

Unified Diff: chrome/browser/chromeos/dbus/cros_disks_client.h

Issue 9019002: [CrosDisksClient] Determine device type from DeviceMediaType property sent by cros-disks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/cros_disks_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/dbus/cros_disks_client.h
diff --git a/chrome/browser/chromeos/dbus/cros_disks_client.h b/chrome/browser/chromeos/dbus/cros_disks_client.h
index 75ea9982a0cfcee42038946107515b9082d33a75..8cc529161606cdc2dfa80fdda4198cb0d0b84c06 100644
--- a/chrome/browser/chromeos/dbus/cros_disks_client.h
+++ b/chrome/browser/chromeos/dbus/cros_disks_client.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -29,10 +29,11 @@ enum MountType {
// Type of device.
enum DeviceType {
- FLASH,
- HDD,
- OPTICAL,
- UNDEFINED,
+ DEVICE_TYPE_UNKNOWN,
+ DEVICE_TYPE_USB, // USB stick.
+ DEVICE_TYPE_SD, // SD card.
+ DEVICE_TYPE_OPTICAL_DISC, // e.g. DVD.
+ DEVICE_TYPE_MOBILE // Storage on a mobile device (e.g. Android).
};
// Mount error code used by cros-disks.
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/cros_disks_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698