(4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries
Mechanically generated by running this command: tools_webrtc/do-renames.sh update all-renames.txt && git cl format Then manually updating: tools_webrtc/sanitizers/tsan_suppressions_webrtc.cc Bug: webrtc:10159 No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: I54824cd91dada8fc3ee3d098f971bc319d477833 Reviewed-on: https://webrtc-review.googlesource.com/c/115653 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26226}
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
|
||||
#import "base/RTCVideoRenderer.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -13,8 +13,8 @@
|
||||
#include <memory>
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/log_sinks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/logsinks.h"
|
||||
|
||||
class CallbackLogSink : public rtc::LogSink {
|
||||
public:
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCAudioTrack.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -13,8 +13,8 @@
|
||||
#import "base/RTCLogging.h"
|
||||
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/rtccertificategenerator.h"
|
||||
#include "rtc_base/sslidentity.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/ssl_identity.h"
|
||||
|
||||
@implementation RTCCertificate
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCConfiguration.h"
|
||||
|
||||
#include "api/peerconnectioninterface.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCConfiguration.h"
|
||||
|
||||
#include "api/peerconnectioninterface.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
#import "RTCIntervalRange+Private.h"
|
||||
#import "base/RTCLogging.h"
|
||||
|
||||
#include "rtc_base/rtccertificategenerator.h"
|
||||
#include "rtc_base/sslidentity.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/ssl_identity.h"
|
||||
|
||||
@implementation RTCConfiguration
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCDataChannel.h"
|
||||
|
||||
#include "api/datachannelinterface.h"
|
||||
#include "api/data_channel_interface.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCDataChannelConfiguration.h"
|
||||
|
||||
#include "api/datachannelinterface.h"
|
||||
#include "api/data_channel_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCDtmfSender.h"
|
||||
|
||||
#include "api/dtmfsenderinterface.h"
|
||||
#include "api/dtmf_sender_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#import "base/RTCLogging.h"
|
||||
#import "helpers/NSString+StdString.h"
|
||||
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
|
||||
@implementation RTCDtmfSender {
|
||||
rtc::scoped_refptr<webrtc::DtmfSenderInterface> _nativeDtmfSender;
|
||||
|
||||
@ -13,9 +13,9 @@
|
||||
#include <memory>
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/filerotatingstream.h"
|
||||
#include "rtc_base/file_rotating_stream.h"
|
||||
#include "rtc_base/log_sinks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/logsinks.h"
|
||||
|
||||
NSString *const kDefaultLogDirName = @"webrtc_logs";
|
||||
NSUInteger const kDefaultMaxFileSize = 10 * 1024 * 1024; // 10MB.
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCIceServer.h"
|
||||
|
||||
#include "api/peerconnectioninterface.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCIntervalRange.h"
|
||||
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCLegacyStatsReport.h"
|
||||
|
||||
#include "api/statstypes.h"
|
||||
#include "api/stats_types.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "api/mediaconstraintsinterface.h"
|
||||
#include "api/media_constraints_interface.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCMediaSource.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCMediaStream.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCMediaStreamTrack.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
|
||||
typedef NS_ENUM(NSInteger, RTCMediaStreamTrackType) {
|
||||
RTCMediaStreamTrackTypeAudio,
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCPeerConnection.h"
|
||||
|
||||
#include "api/peerconnectioninterface.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "api/jsepicecandidate.h"
|
||||
#include "api/jsep_ice_candidate.h"
|
||||
#include "api/media_transport_interface.h"
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCPeerConnectionFactory.h"
|
||||
|
||||
#include "api/peerconnectioninterface.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
// API layer.
|
||||
#include "absl/memory/memory.h"
|
||||
#include "api/media_transport_interface.h"
|
||||
#include "media/engine/webrtcmediaengine.h" // nogncheck
|
||||
#include "media/engine/webrtc_media_engine.h" // nogncheck
|
||||
|
||||
@implementation RTCPeerConnectionFactory {
|
||||
std::unique_ptr<rtc::Thread> _networkThread;
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCPeerConnectionFactoryOptions.h"
|
||||
|
||||
#include "api/peerconnectioninterface.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtcpParameters.h"
|
||||
|
||||
#include "api/rtpparameters.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtpCodecParameters.h"
|
||||
|
||||
#include "api/rtpparameters.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#import "RTCMediaStreamTrack.h"
|
||||
#import "helpers/NSString+StdString.h"
|
||||
|
||||
#include "media/base/mediaconstants.h"
|
||||
#include "media/base/media_constants.h"
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
const NSString * const kRTCRtxCodecName = @(cricket::kRtxCodecName);
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtpEncodingParameters.h"
|
||||
|
||||
#include "api/rtpparameters.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtpHeaderExtension.h"
|
||||
|
||||
#include "api/rtpparameters.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtpParameters.h"
|
||||
|
||||
#include "api/rtpparameters.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtpReceiver.h"
|
||||
|
||||
#include "api/crypto/framedecryptorinterface.h"
|
||||
#include "api/crypto/frame_decryptor_interface.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtpReceiver.h"
|
||||
|
||||
#include "api/rtpreceiverinterface.h"
|
||||
#include "api/rtp_receiver_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
#import "base/RTCLogging.h"
|
||||
#import "helpers/NSString+StdString.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtpSender.h"
|
||||
|
||||
#include "api/crypto/frameencryptorinterface.h"
|
||||
#include "api/crypto/frame_encryptor_interface.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtpSender.h"
|
||||
|
||||
#include "api/rtpsenderinterface.h"
|
||||
#include "api/rtp_sender_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#import "base/RTCLogging.h"
|
||||
#import "helpers/NSString+StdString.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
|
||||
@implementation RTCRtpSender {
|
||||
RTCPeerConnectionFactory *_factory;
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCRtpTransceiver.h"
|
||||
|
||||
#include "api/rtptransceiverinterface.h"
|
||||
#include "api/rtp_transceiver_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#import "RTCSSLAdapter.h"
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ssladapter.h"
|
||||
#include "rtc_base/ssl_adapter.h"
|
||||
|
||||
BOOL RTCInitializeSSL(void) {
|
||||
BOOL initialized = rtc::InitializeSSL();
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
#import "RTCMediaSource+Private.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCVideoSource+Private.h"
|
||||
|
||||
#include "api/videosourceproxy.h"
|
||||
#include "api/video_track_source_proxy.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "sdk/objc/native/src/objc_video_track_source.h"
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#import "RTCVideoTrack.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
#import "RTCVideoCodecConstants.h"
|
||||
|
||||
#include "media/base/mediaconstants.h"
|
||||
#include "media/base/media_constants.h"
|
||||
|
||||
NSString *const kRTCVideoCodecVp8Name = @(cricket::kVp8CodecName);
|
||||
NSString *const kRTCVideoCodecVp9Name = @(cricket::kVp9CodecName);
|
||||
|
||||
@ -12,9 +12,9 @@
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#include "rtc_base/atomicops.h"
|
||||
#include "rtc_base/atomic_ops.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/criticalsection.h"
|
||||
#include "rtc_base/critical_section.h"
|
||||
|
||||
#import "RTCAudioSessionConfiguration.h"
|
||||
#import "base/RTCLogging.h"
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#endif
|
||||
|
||||
#include "media/base/h264_profile_level_id.h"
|
||||
#include "media/base/mediaconstants.h"
|
||||
#include "media/base/media_constants.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "modules/video_coding/include/video_error_codes.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
#include "sdk/objc/components/video_codec/nalu_rewriter.h"
|
||||
|
||||
// Struct that we pass to the decoder per frame to decode. We receive it again
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
#include "modules/video_coding/include/video_error_codes.h"
|
||||
#include "rtc_base/buffer.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
#include "sdk/objc/components/video_codec/nalu_rewriter.h"
|
||||
#include "third_party/libyuv/include/libyuv/convert_from.h"
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#include "audio_device_module.h"
|
||||
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
#include "sdk/objc/native/src/audio/audio_device_module_ios.h"
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
#import "base/RTCVideoCapturer.h"
|
||||
|
||||
#include "api/mediastreaminterface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#include "sdk/objc/native/api/video_capturer.h"
|
||||
|
||||
#include "absl/memory/memory.h"
|
||||
#include "api/videosourceproxy.h"
|
||||
#include "api/video_track_source_proxy.h"
|
||||
#include "sdk/objc/native/src/objc_video_track_source.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -18,14 +18,14 @@
|
||||
#include "api/array_view.h"
|
||||
#include "helpers.h"
|
||||
#include "modules/audio_device/fine_audio_buffer.h"
|
||||
#include "rtc_base/atomicops.h"
|
||||
#include "rtc_base/atomic_ops.h"
|
||||
#include "rtc_base/bind.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/criticalsection.h"
|
||||
#include "rtc_base/critical_section.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
#include "system_wrappers/include/metrics.h"
|
||||
|
||||
#import "base/RTCLogging.h"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#include "modules/audio_device/audio_device_buffer.h"
|
||||
#include "modules/audio_device/include/audio_device.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/criticalsection.h"
|
||||
#include "rtc_base/critical_section.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -14,8 +14,8 @@
|
||||
#include "modules/audio_device/audio_device_generic.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/ref_count.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "system_wrappers/include/metrics.h"
|
||||
|
||||
#if defined(WEBRTC_IOS)
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#ifndef SDK_OBJC_NATIVE_SRC_AUDIO_AUDIO_SESSION_OBSERVER_H_
|
||||
#define SDK_OBJC_NATIVE_SRC_AUDIO_AUDIO_SESSION_OBSERVER_H_
|
||||
|
||||
#include "rtc_base/asyncinvoker.h"
|
||||
#include "rtc_base/async_invoker.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "modules/video_coding/include/video_codec_interface.h"
|
||||
#include "modules/video_coding/include/video_error_codes.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
#include "sdk/objc/native/src/objc_frame_buffer.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
#include "sdk/objc/native/src/objc_video_frame.h"
|
||||
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
#include "sdk/objc/native/src/objc_frame_buffer.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -14,8 +14,8 @@
|
||||
#import "base/RTCVideoCapturer.h"
|
||||
|
||||
#include "base/RTCMacros.h"
|
||||
#include "media/base/adaptedvideotracksource.h"
|
||||
#include "rtc_base/timestampaligner.h"
|
||||
#include "media/base/adapted_video_track_source.h"
|
||||
#include "rtc_base/timestamp_aligner.h"
|
||||
|
||||
RTC_FWD_DECL_OBJC_CLASS(RTCVideoFrame);
|
||||
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
#import "frame_buffer_helpers.h"
|
||||
|
||||
#include "common_video/libyuv/include/webrtc_libyuv.h"
|
||||
#include "media/base/fakevideorenderer.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "media/base/fake_video_renderer.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "sdk/objc/native/api/video_frame.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user