Reland "[cleanup] Remove useless includes."

Reason for reland: Downstream project fixed.

Original change's description:

> [cleanup] Remove useless includes.
>
> Manual cleanup guided by include-what-you-use diagnostic.
>
> Bug: webrtc:8311
> Change-Id: I00be03392cc7ee005101427ea7dc701621ccea68
> Reviewed-on: https://webrtc-review.googlesource.com/c/103320
> Commit-Queue: Yves Gerey <yvesg@webrtc.org>
> Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#25013}

Bug: webrtc:8311
Change-Id: Id6ec4aeb798886a90ace640a190eaf16497ba31b
Reviewed-on: https://webrtc-review.googlesource.com/c/104120
Commit-Queue: Yves Gerey <yvesg@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25034}
This commit is contained in:
Yves Gerey
2018-10-05 15:39:24 +02:00
committed by Commit Bot
parent 4dc66c53d0
commit 2e00abc98e
105 changed files with 149 additions and 169 deletions

View File

@ -11,7 +11,6 @@
#ifndef API_AUDIO_CODECS_AUDIO_ENCODER_H_
#define API_AUDIO_CODECS_AUDIO_ENCODER_H_
#include <algorithm>
#include <memory>
#include <string>
#include <vector>

View File

@ -13,10 +13,10 @@
#include <map>
#include <string>
// TODO(yvesg) Fix presubmit check and/or remove unused swap function.
#include <utility>
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include "rtc_base/checks.h"
namespace webrtc {

View File

@ -10,6 +10,7 @@
#include "api/candidate.h"
#include "rtc_base/helpers.h"
#include "rtc_base/strings/string_builder.h"
namespace cricket {

View File

@ -18,7 +18,6 @@
#include <string>
#include "rtc_base/checks.h"
#include "rtc_base/helpers.h"
#include "rtc_base/network_constants.h"
#include "rtc_base/socketaddress.h"

View File

@ -15,7 +15,6 @@
#define API_JSEPICECANDIDATE_H_
#include <string>
#include <utility>
#include <vector>
#include "api/candidate.h"

View File

@ -24,7 +24,6 @@
#include <string>
#include <vector>
#include "absl/types/optional.h"
#include "api/peerconnectioninterface.h"
namespace webrtc {

View File

@ -24,17 +24,11 @@
#include "absl/types/optional.h"
#include "api/video/video_frame.h"
// TODO(zhihuang): Remove unrelated headers once downstream applications stop
// relying on them; they were previously transitively included by
// mediachannel.h, which is no longer a dependency of this file.
#include "api/video/video_sink_interface.h"
#include "api/video/video_source_interface.h"
#include "modules/audio_processing/include/audio_processing_statistics.h"
#include "rtc_base/ratetracker.h"
#include "rtc_base/refcount.h"
#include "rtc_base/scoped_ref_ptr.h"
#include "rtc_base/thread.h"
#include "rtc_base/timeutils.h"
namespace webrtc {

View File

@ -69,7 +69,6 @@
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "api/asyncresolverfactory.h"
@ -79,7 +78,6 @@
#include "api/audio_options.h"
#include "api/call/callfactoryinterface.h"
#include "api/datachannelinterface.h"
#include "api/dtmfsenderinterface.h"
#include "api/fec_controller.h"
#include "api/jsep.h"
#include "api/mediastreaminterface.h"
@ -94,7 +92,6 @@
#include "api/transport/bitrate_settings.h"
#include "api/transport/network_control.h"
#include "api/turncustomizer.h"
#include "api/umametrics.h"
#include "logging/rtc_event_log/rtc_event_log_factory_interface.h"
#include "media/base/mediaconfig.h"
// TODO(bugs.webrtc.org/6353): cricket::VideoCapturer is deprecated and should

View File

@ -10,14 +10,6 @@
#include "api/rtp_headers.h"
#include <string.h>
#include <algorithm>
#include <limits>
#include <type_traits>
#include "rtc_base/checks.h"
#include "rtc_base/stringutils.h"
namespace webrtc {
RTPHeaderExtension::RTPHeaderExtension()

View File

@ -13,10 +13,7 @@
#include <stddef.h>
#include <string.h>
#include <string>
#include <vector>
#include "absl/types/optional.h"
#include "api/array_view.h"
#include "api/video/video_content_type.h"
#include "api/video/video_frame_marking.h"
@ -24,8 +21,6 @@
#include "api/video/video_timing.h"
#include "common_types.h" // NOLINT(build/include)
#include "rtc_base/checks.h"
#include "rtc_base/deprecation.h"
namespace webrtc {

View File

@ -12,7 +12,6 @@
#include <algorithm>
#include <string>
#include "rtc_base/checks.h"
#include "rtc_base/strings/string_builder.h"
namespace webrtc {

View File

@ -24,7 +24,6 @@
#include "api/proxy.h"
#include "api/rtcerror.h"
#include "api/rtpparameters.h"
#include "rtc_base/deprecation.h"
#include "rtc_base/refcount.h"
#include "rtc_base/scoped_ref_ptr.h"

View File

@ -10,12 +10,9 @@
#include "api/video/video_bitrate_allocation.h"
#include <limits>
#include "rtc_base/checks.h"
#include "rtc_base/numerics/safe_conversions.h"
#include "rtc_base/strings/string_builder.h"
#include "rtc_base/stringutils.h"
namespace webrtc {

View File

@ -13,8 +13,6 @@
#include <stdint.h>
#include <string>
namespace webrtc {
enum class VideoContentType : uint8_t {