Chromium Code Reviews| Index: chromeos/audio/audio_device.h |
| diff --git a/chromeos/audio/audio_device.h b/chromeos/audio/audio_device.h |
| index 31e45fdcbbe062e4deddce7cc4399e8d34ca9a9a..75ac0898510d7a6fcd85bf4d733e903ff9416672 100644 |
| --- a/chromeos/audio/audio_device.h |
| +++ b/chromeos/audio/audio_device.h |
| @@ -29,6 +29,15 @@ enum AudioDeviceType { |
| }; |
| struct CHROMEOS_EXPORT AudioDevice { |
| + AudioDevice(); |
|
James Cook
2014/08/28 18:48:37
Thanks for fixing stuff like this.
|
| + explicit AudioDevice(const AudioNode& node); |
| + std::string ToString() const; |
| + |
| + // Converts between the string type sent via D-Bus and AudioDeviceType. |
| + // Static so they can be used by tests. |
| + static std::string GetTypeString(chromeos::AudioDeviceType type); |
| + static chromeos::AudioDeviceType GetAudioType(const std::string& node_type); |
| + |
| bool is_input; |
| uint64 id; |
| std::string display_name; |
| @@ -37,10 +46,6 @@ struct CHROMEOS_EXPORT AudioDevice { |
| uint8 priority; |
| bool active; |
| uint64 plugged_time; |
| - |
| - AudioDevice(); |
| - explicit AudioDevice(const AudioNode& node); |
| - std::string ToString() const; |
| }; |
| typedef std::vector<AudioDevice> AudioDeviceList; |