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

Unified Diff: chrome/browser/chromeos/disks/disk_mount_manager.h

Issue 10830003: Extract and dispatch device uuid in media device attached notification message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 8 years, 5 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
Index: chrome/browser/chromeos/disks/disk_mount_manager.h
diff --git a/chrome/browser/chromeos/disks/disk_mount_manager.h b/chrome/browser/chromeos/disks/disk_mount_manager.h
index c4e1d6ba011fa8ec9dab11b532acf3f6f8422618..df6dd185cd84b16ffe4b39f44da00bbbcdee7759 100644
--- a/chrome/browser/chromeos/disks/disk_mount_manager.h
+++ b/chrome/browser/chromeos/disks/disk_mount_manager.h
@@ -52,6 +52,7 @@ class DiskMountManager {
const std::string& file_path,
const std::string& device_label,
const std::string& drive_label,
+ const std::string& fs_uuid,
const std::string& system_path_prefix,
DeviceType device_type,
uint64 total_size_in_bytes,
@@ -85,6 +86,9 @@ class DiskMountManager {
// (e.g. "TransMemory")
const std::string& drive_label() const { return drive_label_; }
+ // Returns the file system uuid string.
+ const std::string& fs_uuid() const { return fs_uuid_; }
+
// Path of the system device this device's block is a part of.
// (e.g. /sys/devices/pci0000:00/.../8:0:0:0/)
const std::string& system_path_prefix() const {
@@ -125,6 +129,7 @@ class DiskMountManager {
std::string file_path_;
std::string device_label_;
std::string drive_label_;
+ std::string fs_uuid_;
std::string system_path_prefix_;
DeviceType device_type_;
uint64 total_size_in_bytes_;

Powered by Google App Engine
This is Rietveld 408576698