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

Unified Diff: chromeos/audio/audio_devices_pref_handler_impl.cc

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 side-by-side diff with in-line comments
Download patch
Index: chromeos/audio/audio_devices_pref_handler_impl.cc
diff --git a/chromeos/audio/audio_devices_pref_handler_impl.cc b/chromeos/audio/audio_devices_pref_handler_impl.cc
index 17b5681ebce457ca4feffe8a9f1479fa95ee4832..45aa433eb9ed1628cf19eb5f41a06158cf1e7fee 100644
--- a/chromeos/audio/audio_devices_pref_handler_impl.cc
+++ b/chromeos/audio/audio_devices_pref_handler_impl.cc
@@ -4,6 +4,8 @@
#include "chromeos/audio/audio_devices_pref_handler_impl.h"
+#include <stdint.h>
+
#include <algorithm>
#include "base/bind.h"
@@ -32,7 +34,7 @@ const int kPrefMuteOn = 1;
std::string GetDeviceIdString(const chromeos::AudioDevice& device) {
std::string device_id_string =
device.device_name + " : " +
- base::Uint64ToString(device.id & static_cast<uint64>(0xffffffff)) +
+ base::Uint64ToString(device.id & static_cast<uint64_t>(0xffffffff)) +
" : " + (device.is_input ? "1" : "0");
// Replace any periods from the device id string with a space, since setting
// names cannot contain periods.
« no previous file with comments | « chromeos/audio/audio_devices_pref_handler_impl.h ('k') | chromeos/audio/audio_devices_pref_handler_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698