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

Side by Side Diff: chromeos/audio/cras_audio_handler.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 unified diff | Download patch
« no previous file with comments | « chromeos/audio/cras_audio_handler.h ('k') | chromeos/audio/cras_audio_handler_unittest.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/audio/cras_audio_handler.h" 5 #include "chromeos/audio/cras_audio_handler.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 #include <cmath> 11 #include <cmath>
9 12
10 #include "base/bind.h" 13 #include "base/bind.h"
11 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
12 #include "base/logging.h" 15 #include "base/logging.h"
13 #include "chromeos/audio/audio_devices_pref_handler.h" 16 #include "chromeos/audio/audio_devices_pref_handler.h"
14 #include "chromeos/audio/audio_devices_pref_handler_stub.h" 17 #include "chromeos/audio/audio_devices_pref_handler_stub.h"
15 #include "chromeos/dbus/dbus_thread_manager.h" 18 #include "chromeos/dbus/dbus_thread_manager.h"
16 19
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 hdmi_rediscover_grace_period_duration_in_ms_), 1043 hdmi_rediscover_grace_period_duration_in_ms_),
1041 this, &CrasAudioHandler::UpdateAudioAfterHDMIRediscoverGracePeriod); 1044 this, &CrasAudioHandler::UpdateAudioAfterHDMIRediscoverGracePeriod);
1042 } 1045 }
1043 1046
1044 void CrasAudioHandler::SetHDMIRediscoverGracePeriodForTesting( 1047 void CrasAudioHandler::SetHDMIRediscoverGracePeriodForTesting(
1045 int duration_in_ms) { 1048 int duration_in_ms) {
1046 hdmi_rediscover_grace_period_duration_in_ms_ = duration_in_ms; 1049 hdmi_rediscover_grace_period_duration_in_ms_ = duration_in_ms;
1047 } 1050 }
1048 1051
1049 } // namespace chromeos 1052 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/audio/cras_audio_handler.h ('k') | chromeos/audio/cras_audio_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698