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

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

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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
« no previous file with comments | « chromeos/dbus/update_engine_client.cc ('k') | chromeos/disks/disk_mount_manager.h » ('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 #ifndef CHROMEOS_DBUS_VOLUME_STATE_H_ 5 #ifndef CHROMEOS_DBUS_VOLUME_STATE_H_
6 #define CHROMEOS_DBUS_VOLUME_STATE_H_ 6 #define CHROMEOS_DBUS_VOLUME_STATE_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/basictypes.h"
11 #include "chromeos/chromeos_export.h" 12 #include "chromeos/chromeos_export.h"
12 13
13 namespace chromeos { 14 namespace chromeos {
14 15
15 struct CHROMEOS_EXPORT VolumeState { 16 struct CHROMEOS_EXPORT VolumeState {
16 int32 output_volume; 17 int32_t output_volume;
17 bool output_system_mute; 18 bool output_system_mute;
18 int32 input_gain; 19 int32_t input_gain;
19 bool input_mute; 20 bool input_mute;
20 bool output_user_mute; 21 bool output_user_mute;
21 22
22 VolumeState(); 23 VolumeState();
23 std::string ToString() const; 24 std::string ToString() const;
24 }; 25 };
25 26
26 } // namespace chromeos 27 } // namespace chromeos
27 28
28 #endif // CHROMEOS_DBUS_VOLUME_STATE_H_ 29 #endif // CHROMEOS_DBUS_VOLUME_STATE_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/update_engine_client.cc ('k') | chromeos/disks/disk_mount_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698