[Cleanup] Add missing #include. Remove useless ones.

This CL is the result of running include-what-you-use tool on part
of the code base (audio target and dependencies) plus manual fixes.

bug: webrtc:8311
Change-Id: I277d281ce943c3ecc1bd45fd8d83055931743604
Reviewed-on: https://webrtc-review.googlesource.com/c/106280
Commit-Queue: Yves Gerey <yvesg@google.com>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25311}
This commit is contained in:
Yves Gerey
2018-10-23 12:03:01 +02:00
committed by Commit Bot
parent 8ee06a7b0c
commit 988cc0870b
596 changed files with 1467 additions and 694 deletions

View File

@ -11,14 +11,11 @@
#include "api/video_codecs/video_codec.h"
#include <string.h>
#include <algorithm>
#include <limits>
#include <string>
#include <type_traits>
#include "absl/strings/match.h"
#include "rtc_base/checks.h"
#include "rtc_base/strings/string_builder.h"
#include "rtc_base/stringutils.h"
namespace webrtc {

View File

@ -11,8 +11,11 @@
#ifndef API_VIDEO_CODECS_VIDEO_CODEC_H_
#define API_VIDEO_CODECS_VIDEO_CODEC_H_
#include <stddef.h>
#include <stdint.h>
#include <string>
#include "api/video/video_bitrate_allocation.h"
#include "common_types.h" // NOLINT(build/include)
#include "rtc_base/system/rtc_export.h"

View File

@ -10,6 +10,10 @@
#include "api/video_codecs/video_encoder.h"
#include <string.h>
#include "rtc_base/checks.h"
namespace webrtc {
// TODO(mflodman): Add default complexity for VP9 and VP9.

View File

@ -9,7 +9,6 @@
*/
#include "api/video_codecs/video_encoder_config.h"
#include <algorithm>
#include <string>
#include "rtc_base/checks.h"

View File

@ -11,12 +11,14 @@
#ifndef API_VIDEO_CODECS_VIDEO_ENCODER_CONFIG_H_
#define API_VIDEO_CODECS_VIDEO_ENCODER_CONFIG_H_
#include <stddef.h>
#include <string>
#include <vector>
#include "absl/types/optional.h"
#include "api/video_codecs/sdp_video_format.h"
#include "api/video_codecs/video_codec.h"
#include "common_types.h" // NOLINT(build/include)
#include "rtc_base/refcount.h"
#include "rtc_base/scoped_ref_ptr.h"