Apply include-cleaner to api direct files
Bug: webrtc:42226242 Change-Id: Ia1e6021fc18a30b6da9b4a43118167b6ae173717 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/360680 Commit-Queue: Dor Hen <dorhen@meta.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42993}
This commit is contained in:
parent
21c456e388
commit
28ce65c6f9
@ -172,6 +172,7 @@ rtc_library("media_stream_interface") {
|
|||||||
":sequence_checker",
|
":sequence_checker",
|
||||||
":video_track_source_constraints",
|
":video_track_source_constraints",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
|
"../rtc_base:macromagic",
|
||||||
"../rtc_base/system:no_unique_address",
|
"../rtc_base/system:no_unique_address",
|
||||||
"../rtc_base/system:rtc_export",
|
"../rtc_base/system:rtc_export",
|
||||||
"audio:audio_processing_statistics",
|
"audio:audio_processing_statistics",
|
||||||
@ -470,6 +471,7 @@ rtc_source_set("make_ref_counted") {
|
|||||||
sources = [ "make_ref_counted.h" ]
|
sources = [ "make_ref_counted.h" ]
|
||||||
deps = [
|
deps = [
|
||||||
":ref_count",
|
":ref_count",
|
||||||
|
":scoped_refptr",
|
||||||
"../rtc_base:refcount",
|
"../rtc_base:refcount",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
2
api/DEPS
2
api/DEPS
@ -102,6 +102,7 @@ specific_include_rules = {
|
|||||||
|
|
||||||
"packet_socket_factory\.h": [
|
"packet_socket_factory\.h": [
|
||||||
"+rtc_base/async_packet_socket.h",
|
"+rtc_base/async_packet_socket.h",
|
||||||
|
"+rtc_base/socket_address.h",
|
||||||
],
|
],
|
||||||
|
|
||||||
"peer_connection_interface\.h": [
|
"peer_connection_interface\.h": [
|
||||||
@ -171,6 +172,7 @@ specific_include_rules = {
|
|||||||
|
|
||||||
"notifier\.h": [
|
"notifier\.h": [
|
||||||
"+rtc_base/system/no_unique_address.h",
|
"+rtc_base/system/no_unique_address.h",
|
||||||
|
"+rtc_base/thread_annotations.h",
|
||||||
],
|
],
|
||||||
|
|
||||||
"priority\.h": [
|
"priority\.h": [
|
||||||
|
|||||||
@ -11,11 +11,9 @@
|
|||||||
#ifndef API_ASYNC_DNS_RESOLVER_H_
|
#ifndef API_ASYNC_DNS_RESOLVER_H_
|
||||||
#define API_ASYNC_DNS_RESOLVER_H_
|
#define API_ASYNC_DNS_RESOLVER_H_
|
||||||
|
|
||||||
#include <functional>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "absl/functional/any_invocable.h"
|
#include "absl/functional/any_invocable.h"
|
||||||
#include "rtc_base/checks.h"
|
|
||||||
#include "rtc_base/socket_address.h"
|
#include "rtc_base/socket_address.h"
|
||||||
#include "rtc_base/system/rtc_export.h"
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#include "api/audio_options.h"
|
#include "api/audio_options.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include "api/array_view.h"
|
#include "api/array_view.h"
|
||||||
#include "rtc_base/strings/string_builder.h"
|
#include "rtc_base/strings/string_builder.h"
|
||||||
|
|
||||||
|
|||||||
@ -14,11 +14,17 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "api/audio/audio_device.h"
|
#include "api/audio/audio_device.h"
|
||||||
|
#include "api/audio/audio_mixer.h"
|
||||||
#include "api/audio/audio_processing.h"
|
#include "api/audio/audio_processing.h"
|
||||||
|
#include "api/audio_codecs/audio_decoder_factory.h"
|
||||||
|
#include "api/audio_codecs/audio_encoder_factory.h"
|
||||||
#include "api/enable_media.h"
|
#include "api/enable_media.h"
|
||||||
|
#include "api/field_trials_view.h"
|
||||||
#include "api/peer_connection_interface.h"
|
#include "api/peer_connection_interface.h"
|
||||||
#include "api/rtc_event_log/rtc_event_log_factory.h"
|
#include "api/rtc_event_log/rtc_event_log_factory.h"
|
||||||
#include "api/scoped_refptr.h"
|
#include "api/scoped_refptr.h"
|
||||||
|
#include "api/video_codecs/video_decoder_factory.h"
|
||||||
|
#include "api/video_codecs/video_encoder_factory.h"
|
||||||
#include "rtc_base/thread.h"
|
#include "rtc_base/thread.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -10,7 +10,12 @@
|
|||||||
|
|
||||||
#include "api/data_channel_interface.h"
|
#include "api/data_channel_interface.h"
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
#include "absl/functional/any_invocable.h"
|
||||||
#include "api/priority.h"
|
#include "api/priority.h"
|
||||||
|
#include "api/rtc_error.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "api/media_stream_interface.h"
|
|
||||||
#include "api/ref_count.h"
|
#include "api/ref_count.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -11,6 +11,8 @@
|
|||||||
#ifndef API_FEC_CONTROLLER_H_
|
#ifndef API_FEC_CONTROLLER_H_
|
||||||
#define API_FEC_CONTROLLER_H_
|
#define API_FEC_CONTROLLER_H_
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
#include "api/async_dns_resolver.h"
|
#include "api/async_dns_resolver.h"
|
||||||
#include "api/ref_count.h"
|
#include "api/ref_count.h"
|
||||||
#include "api/rtc_error.h"
|
|
||||||
#include "api/rtc_event_log/rtc_event_log.h"
|
#include "api/rtc_event_log/rtc_event_log.h"
|
||||||
#include "api/scoped_refptr.h"
|
#include "api/scoped_refptr.h"
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,10 @@
|
|||||||
|
|
||||||
#include "api/jsep.h"
|
#include "api/jsep.h"
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
std::string IceCandidateInterface::server_url() const {
|
std::string IceCandidateInterface::server_url() const {
|
||||||
|
|||||||
@ -10,11 +10,15 @@
|
|||||||
|
|
||||||
#include "api/jsep_ice_candidate.h"
|
#include "api/jsep_ice_candidate.h"
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "absl/algorithm/container.h"
|
#include "absl/algorithm/container.h"
|
||||||
#include "absl/memory/memory.h"
|
#include "absl/memory/memory.h"
|
||||||
|
#include "api/candidate.h"
|
||||||
|
#include "api/jsep.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
#ifndef API_JSEP_SESSION_DESCRIPTION_H_
|
#ifndef API_JSEP_SESSION_DESCRIPTION_H_
|
||||||
#define API_JSEP_SESSION_DESCRIPTION_H_
|
#define API_JSEP_SESSION_DESCRIPTION_H_
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@ -12,10 +12,13 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "absl/algorithm/container.h"
|
#include "absl/algorithm/container.h"
|
||||||
#include "api/make_ref_counted.h"
|
#include "api/make_ref_counted.h"
|
||||||
|
#include "api/sequence_checker.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/string_encode.h"
|
#include "rtc_base/string_encode.h"
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,8 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "api/ref_count.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/ref_counted_object.h"
|
#include "rtc_base/ref_counted_object.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -10,7 +10,9 @@
|
|||||||
|
|
||||||
#include "api/media_stream_interface.h"
|
#include "api/media_stream_interface.h"
|
||||||
|
|
||||||
|
#include "api/audio_options.h"
|
||||||
#include "api/media_types.h"
|
#include "api/media_types.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#include "api/media_types.h"
|
#include "api/media_types.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
|
|
||||||
namespace cricket {
|
namespace cricket {
|
||||||
|
|||||||
@ -11,8 +11,8 @@
|
|||||||
#ifndef API_NETWORK_STATE_PREDICTOR_H_
|
#ifndef API_NETWORK_STATE_PREDICTOR_H_
|
||||||
#define API_NETWORK_STATE_PREDICTOR_H_
|
#define API_NETWORK_STATE_PREDICTOR_H_
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
#include "api/transport/bandwidth_usage.h"
|
#include "api/transport/bandwidth_usage.h"
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
#include "api/sequence_checker.h"
|
#include "api/sequence_checker.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
#include "rtc_base/system/no_unique_address.h"
|
#include "rtc_base/system/no_unique_address.h"
|
||||||
|
#include "rtc_base/thread_annotations.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|||||||
@ -11,12 +11,14 @@
|
|||||||
#ifndef API_PACKET_SOCKET_FACTORY_H_
|
#ifndef API_PACKET_SOCKET_FACTORY_H_
|
||||||
#define API_PACKET_SOCKET_FACTORY_H_
|
#define API_PACKET_SOCKET_FACTORY_H_
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "api/async_dns_resolver.h"
|
#include "api/async_dns_resolver.h"
|
||||||
#include "rtc_base/async_packet_socket.h"
|
#include "rtc_base/async_packet_socket.h"
|
||||||
|
#include "rtc_base/socket_address.h"
|
||||||
#include "rtc_base/system/rtc_export.h"
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
namespace rtc {
|
namespace rtc {
|
||||||
|
|||||||
@ -10,9 +10,16 @@
|
|||||||
|
|
||||||
#include "api/peer_connection_interface.h"
|
#include "api/peer_connection_interface.h"
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "api/media_types.h"
|
||||||
|
#include "api/rtc_error.h"
|
||||||
|
#include "api/rtp_parameters.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
|
#include "p2p/base/port_allocator.h"
|
||||||
#include "pc/media_factory.h"
|
#include "pc/media_factory.h"
|
||||||
|
#include "rtc_base/rtc_certificate_generator.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
|||||||
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
#include "api/ref_count.h"
|
||||||
#include "rtc_base/ref_counter.h"
|
#include "rtc_base/ref_counter.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -11,6 +11,7 @@
|
|||||||
#include "api/rtc_error.h"
|
#include "api/rtc_error.h"
|
||||||
|
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include "absl/strings/string_view.h"
|
#include "absl/strings/string_view.h"
|
||||||
|
|
||||||
|
|||||||
@ -10,8 +10,11 @@
|
|||||||
|
|
||||||
#include "api/rtc_error.h"
|
#include "api/rtc_error.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "absl/strings/string_view.h"
|
||||||
|
#include "rtc_base/checks.h"
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -10,6 +10,10 @@
|
|||||||
|
|
||||||
#include "api/rtp_headers.h"
|
#include "api/rtp_headers.h"
|
||||||
|
|
||||||
|
#include "api/video/video_content_type.h"
|
||||||
|
#include "api/video/video_rotation.h"
|
||||||
|
#include "rtc_base/checks.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
AudioLevel::AudioLevel() : voice_activity_(false), audio_level_(0) {}
|
AudioLevel::AudioLevel() : voice_activity_(false), audio_level_(0) {}
|
||||||
|
|||||||
@ -11,6 +11,7 @@
|
|||||||
#ifndef API_RTP_PACKET_SENDER_H_
|
#ifndef API_RTP_PACKET_SENDER_H_
|
||||||
#define API_RTP_PACKET_SENDER_H_
|
#define API_RTP_PACKET_SENDER_H_
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#include "api/rtp_parameters.h"
|
#include "api/rtp_parameters.h"
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#include "api/rtp_sender_interface.h"
|
#include "api/rtp_sender_interface.h"
|
||||||
|
|
||||||
|
#include "api/rtp_parameters.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#include "api/rtp_transceiver_interface.h"
|
#include "api/rtp_transceiver_interface.h"
|
||||||
|
|
||||||
|
#include "api/rtc_error.h"
|
||||||
|
#include "api/rtp_transceiver_direction.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -12,6 +12,9 @@
|
|||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "api/dtls_transport_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
SctpTransportInformation::SctpTransportInformation(SctpTransportState state)
|
SctpTransportInformation::SctpTransportInformation(SctpTransportState state)
|
||||||
|
|||||||
@ -12,6 +12,8 @@
|
|||||||
#define API_VIDEO_TRACK_SOURCE_PROXY_FACTORY_H_
|
#define API_VIDEO_TRACK_SOURCE_PROXY_FACTORY_H_
|
||||||
|
|
||||||
#include "api/media_stream_interface.h"
|
#include "api/media_stream_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
|
#include "rtc_base/system/rtc_export.h"
|
||||||
#include "rtc_base/thread.h"
|
#include "rtc_base/thread.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|||||||
@ -49,6 +49,7 @@ rtc_source_set("proxy") {
|
|||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
sources = [ "proxy.h" ]
|
sources = [ "proxy.h" ]
|
||||||
deps = [
|
deps = [
|
||||||
|
"../api:make_ref_counted",
|
||||||
"../api:scoped_refptr",
|
"../api:scoped_refptr",
|
||||||
"../api/task_queue",
|
"../api/task_queue",
|
||||||
"../rtc_base:event_tracer",
|
"../rtc_base:event_tracer",
|
||||||
|
|||||||
@ -64,6 +64,7 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "api/make_ref_counted.h"
|
||||||
#include "api/scoped_refptr.h"
|
#include "api/scoped_refptr.h"
|
||||||
#include "api/task_queue/task_queue_base.h"
|
#include "api/task_queue/task_queue_base.h"
|
||||||
#include "rtc_base/event.h"
|
#include "rtc_base/event.h"
|
||||||
|
|||||||
@ -11,6 +11,7 @@
|
|||||||
#import "RTCDtmfSender.h"
|
#import "RTCDtmfSender.h"
|
||||||
|
|
||||||
#include "api/dtmf_sender_interface.h"
|
#include "api/dtmf_sender_interface.h"
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
#import "base/RTCLogging.h"
|
#import "base/RTCLogging.h"
|
||||||
#import "helpers/NSString+StdString.h"
|
#import "helpers/NSString+StdString.h"
|
||||||
|
|
||||||
|
#include "api/scoped_refptr.h"
|
||||||
#include "rtc_base/time_utils.h"
|
#include "rtc_base/time_utils.h"
|
||||||
|
|
||||||
@implementation RTC_OBJC_TYPE (RTCDtmfSender) {
|
@implementation RTC_OBJC_TYPE (RTCDtmfSender) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user