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/dbus/volume_state.h" | 5 #include "chromeos/dbus/volume_state.h" |
6 | 6 |
7 #include "base/format_macros.h" | 7 #include "base/format_macros.h" |
8 #include "base/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
11 | 11 |
12 VolumeState::VolumeState() | 12 VolumeState::VolumeState() |
13 : output_volume(0), | 13 : output_volume(0), |
14 output_mute(false), | 14 output_mute(false), |
15 input_gain(0), | 15 input_gain(0), |
16 input_mute(false) { | 16 input_mute(false) { |
17 } | 17 } |
18 | 18 |
(...skipping 12 matching lines...) Expand all Loading... |
31 "input_gain = %d ", | 31 "input_gain = %d ", |
32 input_gain); | 32 input_gain); |
33 base::StringAppendF(&result, | 33 base::StringAppendF(&result, |
34 "input_mute = %s ", | 34 "input_mute = %s ", |
35 input_mute ? "true" : "false"); | 35 input_mute ? "true" : "false"); |
36 | 36 |
37 return result; | 37 return result; |
38 } | 38 } |
39 | 39 |
40 } // namespace chromeos | 40 } // namespace chromeos |
OLD | NEW |