Index: chromeos/dbus/audio_node.cc |
diff --git a/chromeos/dbus/audio_node.cc b/chromeos/dbus/audio_node.cc |
index fd3f653c5ee140e1016e6325764911938e183cc6..2f567018e5f25e96c39e9f336b19da0dcc6334b7 100644 |
--- a/chromeos/dbus/audio_node.cc |
+++ b/chromeos/dbus/audio_node.cc |
@@ -17,6 +17,22 @@ AudioNode::AudioNode() |
plugged_time(0) { |
} |
+AudioNode::AudioNode(bool is_input, |
+ uint64 id, |
+ std::string device_name, |
+ std::string type, |
+ std::string name, |
+ bool active, |
+ uint64 plugged_time) |
+ : is_input(is_input), |
+ id(id), |
+ device_name(device_name), |
+ type(type), |
+ name(name), |
+ active(active), |
+ plugged_time(plugged_time) { |
+} |
+ |
std::string AudioNode::ToString() const { |
std::string result; |
base::StringAppendF(&result, |