From 1323b9c2b864dd0eabebd64bbc1fb4634c4ed30c Mon Sep 17 00:00:00 2001 From: avi Date: Tue, 22 Dec 2015 22:22:36 -0800 Subject: Switch to standard integer types in media/, take 2. This uses an automated script, so it'll catch things the first pass, done by hand, missed. BUG=138542 TBR=dalecurtis@chromium.org NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1542013004 Cr-Commit-Position: refs/heads/master@{#366712} --- media/cast/receiver/audio_decoder.cc | 4 ++++ media/cast/receiver/audio_decoder_unittest.cc | 4 ++++ media/cast/receiver/cast_receiver_impl.cc | 2 ++ media/cast/receiver/cast_receiver_impl.h | 2 ++ media/cast/receiver/frame_receiver.h | 3 +++ media/cast/receiver/frame_receiver_unittest.cc | 4 ++++ media/cast/receiver/video_decoder.cc | 3 +++ media/cast/receiver/video_decoder_unittest.cc | 3 +++ 8 files changed, 25 insertions(+) (limited to 'media/cast/receiver') diff --git a/media/cast/receiver/audio_decoder.cc b/media/cast/receiver/audio_decoder.cc index 2f04d5f..be3f57c 100644 --- a/media/cast/receiver/audio_decoder.cc +++ b/media/cast/receiver/audio_decoder.cc @@ -4,11 +4,15 @@ #include "media/cast/receiver/audio_decoder.h" +#include + #include "base/bind.h" #include "base/bind_helpers.h" #include "base/location.h" #include "base/logging.h" +#include "base/macros.h" #include "base/sys_byteorder.h" +#include "build/build_config.h" #include "third_party/opus/src/include/opus.h" namespace media { diff --git a/media/cast/receiver/audio_decoder_unittest.cc b/media/cast/receiver/audio_decoder_unittest.cc index 48dfab6..74369b7 100644 --- a/media/cast/receiver/audio_decoder_unittest.cc +++ b/media/cast/receiver/audio_decoder_unittest.cc @@ -2,8 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include +#include + #include "base/bind.h" #include "base/bind_helpers.h" +#include "base/macros.h" #include "base/synchronization/condition_variable.h" #include "base/synchronization/lock.h" #include "base/sys_byteorder.h" diff --git a/media/cast/receiver/cast_receiver_impl.cc b/media/cast/receiver/cast_receiver_impl.cc index c9aeefb..d19479f 100644 --- a/media/cast/receiver/cast_receiver_impl.cc +++ b/media/cast/receiver/cast_receiver_impl.cc @@ -4,6 +4,8 @@ #include "media/cast/receiver/cast_receiver_impl.h" +#include + #include "base/bind.h" #include "base/bind_helpers.h" #include "base/callback.h" diff --git a/media/cast/receiver/cast_receiver_impl.h b/media/cast/receiver/cast_receiver_impl.h index ca2b765..e836669 100644 --- a/media/cast/receiver/cast_receiver_impl.h +++ b/media/cast/receiver/cast_receiver_impl.h @@ -5,6 +5,8 @@ #ifndef MEDIA_CAST_RECEIVER_CAST_RECEIVER_IMPL_H_ #define MEDIA_CAST_RECEIVER_CAST_RECEIVER_IMPL_H_ +#include + #include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" diff --git a/media/cast/receiver/frame_receiver.h b/media/cast/receiver/frame_receiver.h index 1d89d22..f721ffb 100644 --- a/media/cast/receiver/frame_receiver.h +++ b/media/cast/receiver/frame_receiver.h @@ -5,6 +5,9 @@ #ifndef MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ #define MEDIA_CAST_RECEIVER_FRAME_RECEIVER_H_ +#include +#include + #include #include "base/macros.h" diff --git a/media/cast/receiver/frame_receiver_unittest.cc b/media/cast/receiver/frame_receiver_unittest.cc index 6386631..5db3ec9 100644 --- a/media/cast/receiver/frame_receiver_unittest.cc +++ b/media/cast/receiver/frame_receiver_unittest.cc @@ -2,10 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include +#include + #include #include #include "base/bind.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/test/simple_test_tick_clock.h" diff --git a/media/cast/receiver/video_decoder.cc b/media/cast/receiver/video_decoder.cc index 96ec359..c875160 100644 --- a/media/cast/receiver/video_decoder.cc +++ b/media/cast/receiver/video_decoder.cc @@ -4,11 +4,14 @@ #include "media/cast/receiver/video_decoder.h" +#include + #include "base/bind.h" #include "base/bind_helpers.h" #include "base/json/json_reader.h" #include "base/location.h" #include "base/logging.h" +#include "base/macros.h" #include "base/values.h" #include "media/base/video_frame_pool.h" #include "media/base/video_util.h" diff --git a/media/cast/receiver/video_decoder_unittest.cc b/media/cast/receiver/video_decoder_unittest.cc index 6cb3d49..19ebb9b 100644 --- a/media/cast/receiver/video_decoder_unittest.cc +++ b/media/cast/receiver/video_decoder_unittest.cc @@ -2,11 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include + #include #include #include "base/bind.h" #include "base/bind_helpers.h" +#include "base/macros.h" #include "base/synchronization/condition_variable.h" #include "base/synchronization/lock.h" #include "base/time/time.h" -- cgit v1.1