Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ |
| 6 #define MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ | 6 #define MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 namespace media { | 11 namespace media { |
| 12 | 12 |
| 13 struct AudioDeviceName { | 13 struct AudioDeviceName { |
| 14 AudioDeviceName(); | |
| 15 AudioDeviceName(std::string device_name, std::string unique_id); | |
| 16 | |
| 14 std::string device_name; // Name and also display name of the device. | 17 std::string device_name; // Name and also display name of the device. |
|
henrika (OOO until Aug 14)
2011/10/07 12:07:51
Please make comment more clear.
no longer working on chromium
2011/10/10 13:49:24
Done.
| |
| 15 std::string unique_id; // Unique identifier for the device. | 18 std::string unique_id; // Unique identifier for the device. |
| 16 }; | 19 }; |
| 17 | 20 |
| 18 typedef std::list<AudioDeviceName> AudioDeviceNames; | 21 typedef std::list<AudioDeviceName> AudioDeviceNames; |
| 19 | 22 |
| 20 } // namespace media | 23 } // namespace media |
| 21 | 24 |
| 22 #endif // MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ | 25 #endif // MEDIA_AUDIO_AUDIO_DEVICE_NAME_H_ |
| OLD | NEW |