Index: chromeos/dbus/audio_node.cc |
diff --git a/chromeos/dbus/audio_node.cc b/chromeos/dbus/audio_node.cc |
index 17dd6979c036f56ec0736fb17b6709a8f6c7c1da..b1cb3b04e6818aeb673622cd44e27742a8a4308c 100644 |
--- a/chromeos/dbus/audio_node.cc |
+++ b/chromeos/dbus/audio_node.cc |
@@ -21,6 +21,7 @@ AudioNode::AudioNode() |
AudioNode::AudioNode(bool is_input, |
uint64_t id, |
+ uint64_t stable_device_id, |
std::string device_name, |
std::string type, |
std::string name, |
@@ -28,6 +29,7 @@ AudioNode::AudioNode(bool is_input, |
uint64_t plugged_time) |
: is_input(is_input), |
id(id), |
+ stable_device_id(stable_device_id), |
device_name(device_name), |
type(type), |
name(name), |
@@ -44,9 +46,9 @@ std::string AudioNode::ToString() const { |
base::StringAppendF(&result, |
"id = 0x%" PRIx64 " ", |
id); |
- base::StringAppendF(&result, |
- "device_name = %s ", |
- device_name.c_str()); |
+ base::StringAppendF(&result, "stable_device_id = 0x%" PRIx64 " ", |
+ stable_device_id); |
+ base::StringAppendF(&result, "device_name = %s ", device_name.c_str()); |
base::StringAppendF(&result, |
"type = %s ", |
type.c_str()); |