| 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 #include "chromeos/audio/audio_device.h" | 5 #include "chromeos/audio/audio_device.h" |
| 6 | 6 |
| 7 #include "base/format_macros.h" | 7 #include "base/format_macros.h" |
| 8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 display_name.c_str()); | 141 display_name.c_str()); |
| 142 base::StringAppendF(&result, | 142 base::StringAppendF(&result, |
| 143 "device_name = %s ", | 143 "device_name = %s ", |
| 144 device_name.c_str()); | 144 device_name.c_str()); |
| 145 base::StringAppendF(&result, | 145 base::StringAppendF(&result, |
| 146 "type = %s ", | 146 "type = %s ", |
| 147 GetTypeString(type).c_str()); | 147 GetTypeString(type).c_str()); |
| 148 base::StringAppendF(&result, | 148 base::StringAppendF(&result, |
| 149 "active = %s ", | 149 "active = %s ", |
| 150 active ? "true" : "false"); | 150 active ? "true" : "false"); |
| 151 base::StringAppendF(&result, | 151 base::StringAppendF(&result, "plugged_time = %s ", |
| 152 "plugged_time= %s ", | |
| 153 base::Uint64ToString(plugged_time).c_str()); | 152 base::Uint64ToString(plugged_time).c_str()); |
| 153 base::StringAppendF(&result, "mic_positions = %s ", mic_positions.c_str()); |
| 154 | 154 |
| 155 return result; | 155 return result; |
| 156 } | 156 } |
| 157 | 157 |
| 158 } // namespace chromeos | 158 } // namespace chromeos |
| OLD | NEW |