| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMEOS_DBUS_AUDIO_NODE_H_ | 5 #ifndef CHROMEOS_DBUS_AUDIO_NODE_H_ |
| 6 #define CHROMEOS_DBUS_AUDIO_NODE_H_ | 6 #define CHROMEOS_DBUS_AUDIO_NODE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 AudioNode(); | 30 AudioNode(); |
| 31 AudioNode(bool is_input, | 31 AudioNode(bool is_input, |
| 32 uint64_t id, | 32 uint64_t id, |
| 33 uint64_t stable_device_id, | 33 uint64_t stable_device_id, |
| 34 std::string device_name, | 34 std::string device_name, |
| 35 std::string type, | 35 std::string type, |
| 36 std::string name, | 36 std::string name, |
| 37 bool active, | 37 bool active, |
| 38 uint64_t plugged_time); | 38 uint64_t plugged_time); |
| 39 AudioNode(const AudioNode& other); |
| 39 ~AudioNode(); | 40 ~AudioNode(); |
| 40 std::string ToString() const; | 41 std::string ToString() const; |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 typedef std::vector<AudioNode> AudioNodeList; | 44 typedef std::vector<AudioNode> AudioNodeList; |
| 44 | 45 |
| 45 } // namespace chromeos | 46 } // namespace chromeos |
| 46 | 47 |
| 47 #endif // CHROMEOS_DBUS_AUDIO_NODE_H_ | 48 #endif // CHROMEOS_DBUS_AUDIO_NODE_H_ |
| OLD | NEW |