summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpaquay@chromium.org <rpaquay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 18:36:46 +0000
committerrpaquay@chromium.org <rpaquay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 18:36:46 +0000
commit45374fa75307739d4ebc8c310707d5e7c3687971 (patch)
treea439c902e57ac683fdfb4906d25e721237fb64d9
parent44df4a905a95df65d9ab3c7648916a6d01fe821e (diff)
downloadchromium_src-45374fa75307739d4ebc8c310707d5e7c3687971.zip
chromium_src-45374fa75307739d4ebc8c310707d5e7c3687971.tar.gz
chromium_src-45374fa75307739d4ebc8c310707d5e7c3687971.tar.bz2
Add more device names to the list of known devices.
BUG=331831 Review URL: https://codereview.chromium.org/118633003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243606 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/extensions/api/music_manager_private/device_id_linux.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/music_manager_private/device_id_linux.cc b/chrome/browser/extensions/api/music_manager_private/device_id_linux.cc
index 9045ca2..098609e 100644
--- a/chrome/browser/extensions/api/music_manager_private/device_id_linux.cc
+++ b/chrome/browser/extensions/api/music_manager_private/device_id_linux.cc
@@ -15,7 +15,9 @@
namespace {
const char kDiskByUuidDirectoryName[] = "/dev/disk/by-uuid";
-const char* kDeviceNames[] = { "sda1", "hda1", "dm-0" };
+const char* kDeviceNames[] = {
+ "sda1", "hda1", "dm-0", "xvda1", "sda2", "hda2", "dm-1", "xvda2",
+};
// Map from device name to disk uuid
typedef std::map<base::FilePath, base::FilePath> DiskEntries;