Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: chromeos/dbus/volume_state.cc

Issue 16739011: Use a direct include of strings headers in chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/update_engine_client.cc ('k') | chromeos/disks/disk_mount_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chromeos/dbus/update_engine_client.cc ('k') | chromeos/disks/disk_mount_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698