mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-18 04:44:17 +00:00
Bug 1790097 - Vendor libwebrtc from 105711e9ad
Upstream commit: https://webrtc.googlesource.com/src/+/105711e9ad318f659c0cc061aa683fc656dd91f0 Move rtc::make_ref_counted to api/ Bug: webrtc:12701 Change-Id: If49095b101c1a1763c2a44a0284c0d670cce953f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/265390 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37219}
This commit is contained in:
parent
0180dec9d7
commit
152f850d39
3
third_party/libwebrtc/README.moz-ff-commit
vendored
3
third_party/libwebrtc/README.moz-ff-commit
vendored
@ -15195,3 +15195,6 @@ e9393b8f05
|
||||
# MOZ_LIBWEBRTC_SRC=/home/mfroman/git-checkouts/moz-libwebrtc MOZ_LIBWEBRTC_COMMIT=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
|
||||
# base of lastest vendoring
|
||||
7ef4f514c5
|
||||
# MOZ_LIBWEBRTC_SRC=/home/mfroman/git-checkouts/moz-libwebrtc MOZ_LIBWEBRTC_COMMIT=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
|
||||
# base of lastest vendoring
|
||||
105711e9ad
|
||||
|
2
third_party/libwebrtc/README.mozilla
vendored
2
third_party/libwebrtc/README.mozilla
vendored
@ -10150,3 +10150,5 @@ libwebrtc updated from /home/mfroman/git-checkouts/moz-libwebrtc commit mozpatch
|
||||
libwebrtc updated from /home/mfroman/git-checkouts/moz-libwebrtc commit mozpatches on 2022-09-28T21:33:19.694939.
|
||||
# python3 vendor-libwebrtc.py --from-local /home/mfroman/git-checkouts/moz-libwebrtc --commit mozpatches libwebrtc
|
||||
libwebrtc updated from /home/mfroman/git-checkouts/moz-libwebrtc commit mozpatches on 2022-09-28T21:47:52.913000.
|
||||
# python3 vendor-libwebrtc.py --from-local /home/mfroman/git-checkouts/moz-libwebrtc --commit mozpatches libwebrtc
|
||||
libwebrtc updated from /home/mfroman/git-checkouts/moz-libwebrtc commit mozpatches on 2022-09-28T21:52:57.592563.
|
||||
|
105
third_party/libwebrtc/api/make_ref_counted.h
vendored
105
third_party/libwebrtc/api/make_ref_counted.h
vendored
@ -10,9 +10,110 @@
|
||||
#ifndef API_MAKE_REF_COUNTED_H_
|
||||
#define API_MAKE_REF_COUNTED_H_
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
// TODO(bugs.webrtc.org/12701): Move implementation of make_ref_counted to this
|
||||
// file.
|
||||
namespace rtc {
|
||||
|
||||
namespace webrtc_make_ref_counted_internal {
|
||||
// Determines if the given class has AddRef and Release methods.
|
||||
template <typename T>
|
||||
class HasAddRefAndRelease {
|
||||
private:
|
||||
template <typename C,
|
||||
decltype(std::declval<C>().AddRef())* = nullptr,
|
||||
decltype(std::declval<C>().Release())* = nullptr>
|
||||
static int Test(int);
|
||||
template <typename>
|
||||
static char Test(...);
|
||||
|
||||
public:
|
||||
static constexpr bool value = std::is_same_v<decltype(Test<T>(0)), int>;
|
||||
};
|
||||
} // namespace webrtc_make_ref_counted_internal
|
||||
|
||||
// General utilities for constructing a reference counted class and the
|
||||
// appropriate reference count implementation for that class.
|
||||
//
|
||||
// These utilities select either the `RefCountedObject` implementation or
|
||||
// `FinalRefCountedObject` depending on whether the to-be-shared class is
|
||||
// derived from the RefCountInterface interface or not (respectively).
|
||||
|
||||
// `make_ref_counted`:
|
||||
//
|
||||
// Use this when you want to construct a reference counted object of type T and
|
||||
// get a `scoped_refptr<>` back. Example:
|
||||
//
|
||||
// auto p = make_ref_counted<Foo>("bar", 123);
|
||||
//
|
||||
// For a class that inherits from RefCountInterface, this is equivalent to:
|
||||
//
|
||||
// auto p = scoped_refptr<Foo>(new RefCountedObject<Foo>("bar", 123));
|
||||
//
|
||||
// If the class does not inherit from RefCountInterface, but does have
|
||||
// AddRef/Release methods (so a T* is convertible to rtc::scoped_refptr), this
|
||||
// is equivalent to just
|
||||
//
|
||||
// auto p = scoped_refptr<Foo>(new Foo("bar", 123));
|
||||
//
|
||||
// Otherwise, the example is equivalent to:
|
||||
//
|
||||
// auto p = scoped_refptr<FinalRefCountedObject<Foo>>(
|
||||
// new FinalRefCountedObject<Foo>("bar", 123));
|
||||
//
|
||||
// In these cases, `make_ref_counted` reduces the amount of boilerplate code but
|
||||
// also helps with the most commonly intended usage of RefCountedObject whereby
|
||||
// methods for reference counting, are virtual and designed to satisfy the need
|
||||
// of an interface. When such a need does not exist, it is more efficient to use
|
||||
// the `FinalRefCountedObject` template, which does not add the vtable overhead.
|
||||
//
|
||||
// Note that in some cases, using RefCountedObject directly may still be what's
|
||||
// needed.
|
||||
|
||||
// `make_ref_counted` for abstract classes that are convertible to
|
||||
// RefCountInterface. The is_abstract requirement rejects classes that inherit
|
||||
// both RefCountInterface and RefCounted object, which is a a discouraged
|
||||
// pattern, and would result in double inheritance of RefCountedObject if this
|
||||
// template was applied.
|
||||
template <
|
||||
typename T,
|
||||
typename... Args,
|
||||
typename std::enable_if<std::is_convertible_v<T*, RefCountInterface*> &&
|
||||
std::is_abstract_v<T>,
|
||||
T>::type* = nullptr>
|
||||
scoped_refptr<T> make_ref_counted(Args&&... args) {
|
||||
return scoped_refptr<T>(new RefCountedObject<T>(std::forward<Args>(args)...));
|
||||
}
|
||||
|
||||
// `make_ref_counted` for complete classes that are not convertible to
|
||||
// RefCountInterface and already carry a ref count.
|
||||
template <
|
||||
typename T,
|
||||
typename... Args,
|
||||
typename std::enable_if<
|
||||
!std::is_convertible_v<T*, RefCountInterface*> &&
|
||||
webrtc_make_ref_counted_internal::HasAddRefAndRelease<T>::value,
|
||||
T>::type* = nullptr>
|
||||
scoped_refptr<T> make_ref_counted(Args&&... args) {
|
||||
return scoped_refptr<T>(new T(std::forward<Args>(args)...));
|
||||
}
|
||||
|
||||
// `make_ref_counted` for complete classes that are not convertible to
|
||||
// RefCountInterface and have no ref count of their own.
|
||||
template <
|
||||
typename T,
|
||||
typename... Args,
|
||||
typename std::enable_if<
|
||||
!std::is_convertible_v<T*, RefCountInterface*> &&
|
||||
!webrtc_make_ref_counted_internal::HasAddRefAndRelease<T>::value,
|
||||
|
||||
T>::type* = nullptr>
|
||||
scoped_refptr<FinalRefCountedObject<T>> make_ref_counted(Args&&... args) {
|
||||
return scoped_refptr<FinalRefCountedObject<T>>(
|
||||
new FinalRefCountedObject<T>(std::forward<Args>(args)...));
|
||||
}
|
||||
|
||||
} // namespace rtc
|
||||
|
||||
#endif // API_MAKE_REF_COUNTED_H_
|
||||
|
1
third_party/libwebrtc/audio/audio_state.cc
vendored
1
third_party/libwebrtc/audio/audio_state.cc
vendored
@ -20,7 +20,6 @@
|
||||
#include "modules/audio_device/include/audio_device.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "modules/audio_device/include/mock_audio_device.h"
|
||||
#include "modules/audio_mixer/audio_mixer_impl.h"
|
||||
#include "modules/audio_processing/include/mock_audio_processing.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "test/mock_frame_transformer.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/task_queue_for_test.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
|
@ -33,6 +33,7 @@ rtc_library("resource_adaptation") {
|
||||
]
|
||||
deps = [
|
||||
"../../api:field_trials_view",
|
||||
"../../api:make_ref_counted",
|
||||
"../../api:rtp_parameters",
|
||||
"../../api:scoped_refptr",
|
||||
"../../api:sequence_checker",
|
||||
@ -115,12 +116,12 @@ if (rtc_include_tests) {
|
||||
]
|
||||
deps = [
|
||||
":resource_adaptation",
|
||||
"../../api:make_ref_counted",
|
||||
"../../api:scoped_refptr",
|
||||
"../../api:sequence_checker",
|
||||
"../../api/adaptation:resource_adaptation_api",
|
||||
"../../api/task_queue:task_queue",
|
||||
"../../api/video:video_stream_encoder",
|
||||
"../../rtc_base:refcount",
|
||||
"../../rtc_base/task_utils:to_queued_task",
|
||||
"../../test:test_support",
|
||||
]
|
||||
|
@ -15,8 +15,8 @@
|
||||
#include <utility>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/synchronization/mutex.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "api/video/video_adaptation_counters.h"
|
||||
#include "call/adaptation/video_stream_adapter.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/strings/string_builder.h"
|
||||
#include "rtc_base/task_utils/to_queued_task.h"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
1
third_party/libwebrtc/common_video/BUILD.gn
vendored
1
third_party/libwebrtc/common_video/BUILD.gn
vendored
@ -43,6 +43,7 @@ rtc_library("common_video") {
|
||||
|
||||
deps = [
|
||||
"../api:array_view",
|
||||
"../api:make_ref_counted",
|
||||
"../api:scoped_refptr",
|
||||
"../api:sequence_checker",
|
||||
"../api/task_queue",
|
||||
|
@ -12,11 +12,11 @@
|
||||
#define COMMON_VIDEO_INCLUDE_VIDEO_FRAME_BUFFER_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "api/video/video_frame_buffer.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "api/video/i444_buffer.h"
|
||||
#include "api/video/nv12_buffer.h"
|
||||
#include "rtc_base/race_checker.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -9,9 +9,9 @@
|
||||
*/
|
||||
#include "common_video/include/video_frame_buffer.h"
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/video/i420_buffer.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "libyuv/include/libyuv/convert.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "pc/video_track_source.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/strings/json.h"
|
||||
#include "test/vcm_capturer.h"
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "examples/peerconnection/client/linux/main_wnd.h"
|
||||
#include "examples/peerconnection/client/peer_connection_client.h"
|
||||
#include "rtc_base/physical_socket_server.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/ssl_adapter.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "system_wrappers/include/field_trial.h"
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "rtc_base/message_digest.h"
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "rtc_base/platform_thread.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/synchronization/mutex.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "test/mock_audio_decoder.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "modules/audio_coding/neteq/tools/input_audio_file.h"
|
||||
#include "modules/audio_coding/neteq/tools/neteq_test.h"
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/audio_decoder_proxy_factory.h"
|
||||
#include "test/gtest.h"
|
||||
#include "test/testsupport/file_utils.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "api/neteq/neteq.h"
|
||||
#include "modules/audio_coding/neteq/default_neteq_factory.h"
|
||||
#include "modules/audio_coding/neteq/tools/rtp_generator.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
#include "test/audio_decoder_proxy_factory.h"
|
||||
#include "test/gmock.h"
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "modules/audio_coding/neteq/tools/output_wav_file.h"
|
||||
#include "modules/audio_coding/neteq/tools/rtp_file_source.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/function_audio_decoder_factory.h"
|
||||
#include "test/testsupport/file_utils.h"
|
||||
|
||||
|
@ -152,6 +152,7 @@ rtc_source_set("audio_device_module_from_input_and_output") {
|
||||
":audio_device_api",
|
||||
":audio_device_buffer",
|
||||
":windows_core_audio_utility",
|
||||
"../../api:make_ref_counted",
|
||||
"../../api:scoped_refptr",
|
||||
"../../api:sequence_checker",
|
||||
"../../api/task_queue",
|
||||
@ -159,7 +160,6 @@ rtc_source_set("audio_device_module_from_input_and_output") {
|
||||
"../../rtc_base:logging",
|
||||
"../../rtc_base:macromagic",
|
||||
"../../rtc_base:platform_thread",
|
||||
"../../rtc_base:refcount",
|
||||
"../../rtc_base:safe_conversions",
|
||||
"../../rtc_base:stringutils",
|
||||
"../../rtc_base:timeutils",
|
||||
@ -180,6 +180,7 @@ rtc_library("audio_device_impl") {
|
||||
":audio_device_default",
|
||||
":audio_device_generic",
|
||||
"../../api:array_view",
|
||||
"../../api:make_ref_counted",
|
||||
"../../api:refcountedbase",
|
||||
"../../api:scoped_refptr",
|
||||
"../../api:sequence_checker",
|
||||
@ -193,7 +194,6 @@ rtc_library("audio_device_impl") {
|
||||
"../../rtc_base:macromagic",
|
||||
"../../rtc_base:platform_thread",
|
||||
"../../rtc_base:random",
|
||||
"../../rtc_base:refcount",
|
||||
"../../rtc_base:rtc_event",
|
||||
"../../rtc_base:rtc_task_queue",
|
||||
"../../rtc_base:safe_conversions",
|
||||
@ -397,7 +397,7 @@ rtc_source_set("mock_audio_device") {
|
||||
":audio_device",
|
||||
":audio_device_buffer",
|
||||
":audio_device_impl",
|
||||
"../../rtc_base:refcount",
|
||||
"../../api:make_ref_counted",
|
||||
"../../test:test_support",
|
||||
]
|
||||
}
|
||||
|
@ -10,9 +10,9 @@
|
||||
|
||||
#include "modules/audio_device/include/audio_device_data_observer.h"
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "modules/audio_device/include/audio_device_defines.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -12,12 +12,12 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "modules/audio_device/audio_device_config.h" // IWYU pragma: keep
|
||||
#include "modules/audio_device/audio_device_generic.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "system_wrappers/include/metrics.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
@ -13,8 +13,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "modules/audio_device/include/audio_device.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "api/array_view.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "common_audio/wav_file.h"
|
||||
#include "modules/audio_device/include/audio_device_default.h"
|
||||
#include "rtc_base/buffer.h"
|
||||
@ -28,7 +29,6 @@
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "rtc_base/platform_thread.h"
|
||||
#include "rtc_base/random.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/synchronization/mutex.h"
|
||||
#include "rtc_base/task_queue.h"
|
||||
#include "rtc_base/task_utils/repeating_task.h"
|
||||
|
@ -41,10 +41,10 @@
|
||||
|
||||
#include <iomanip>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/platform_thread.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/string_utils.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
#include "system_wrappers/include/sleep.h"
|
||||
|
@ -13,12 +13,12 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/sequence_checker.h"
|
||||
#include "modules/audio_device/audio_device_buffer.h"
|
||||
#include "modules/audio_device/include/audio_device.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/string_utils.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "modules/audio_mixer/default_output_rate_calculator.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -170,6 +170,7 @@ rtc_library("audio_processing") {
|
||||
":rms_level",
|
||||
"../../api:array_view",
|
||||
"../../api:function_view",
|
||||
"../../api:make_ref_counted",
|
||||
"../../api/audio:aec3_config",
|
||||
"../../api/audio:audio_frame_api",
|
||||
"../../api/audio:echo_control",
|
||||
@ -183,7 +184,6 @@ rtc_library("audio_processing") {
|
||||
"../../rtc_base:ignore_wundef",
|
||||
"../../rtc_base:logging",
|
||||
"../../rtc_base:macromagic",
|
||||
"../../rtc_base:refcount",
|
||||
"../../rtc_base:safe_minmax",
|
||||
"../../rtc_base:sanitizer",
|
||||
"../../rtc_base:swap_queue",
|
||||
@ -373,6 +373,7 @@ if (rtc_include_tests) {
|
||||
":high_pass_filter",
|
||||
":mocks",
|
||||
"../../api:array_view",
|
||||
"../../api:make_ref_counted",
|
||||
"../../api:scoped_refptr",
|
||||
"../../api/audio:aec3_config",
|
||||
"../../api/audio:aec3_factory",
|
||||
@ -387,7 +388,6 @@ if (rtc_include_tests) {
|
||||
"../../rtc_base:platform_thread",
|
||||
"../../rtc_base:protobuf_utils",
|
||||
"../../rtc_base:random",
|
||||
"../../rtc_base:refcount",
|
||||
"../../rtc_base:rtc_base_tests_utils",
|
||||
"../../rtc_base:rtc_event",
|
||||
"../../rtc_base:safe_conversions",
|
||||
@ -641,7 +641,6 @@ rtc_library("audioproc_test_utils") {
|
||||
"../../common_audio",
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:random",
|
||||
"../../rtc_base:refcount",
|
||||
"../../rtc_base/system:arch",
|
||||
"../../system_wrappers",
|
||||
"../../test:fileutils",
|
||||
|
@ -8,12 +8,11 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "modules/audio_processing/include/audio_processing.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "modules/audio_processing/audio_processing_impl.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "modules/audio_processing/include/audio_processing.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "rtc_base/atomic_ops.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
#include "rtc_base/trace_event.h"
|
||||
#include "system_wrappers/include/denormal_disabler.h"
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <array>
|
||||
#include <memory>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "modules/audio_processing/include/audio_processing.h"
|
||||
#include "modules/audio_processing/optionally_built_submodule_creators.h"
|
||||
@ -22,7 +23,6 @@
|
||||
#include "modules/audio_processing/test/test_utils.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/random.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#include "absl/flags/flag.h"
|
||||
#include "api/audio/echo_detector_creator.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "common_audio/include/audio_util.h"
|
||||
#include "common_audio/resampler/include/push_resampler.h"
|
||||
#include "common_audio/resampler/push_sinc_resampler.h"
|
||||
@ -39,7 +40,6 @@
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "rtc_base/numerics/safe_minmax.h"
|
||||
#include "rtc_base/protobuf_utils.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/strings/string_builder.h"
|
||||
#include "rtc_base/swap_queue.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include <utility>
|
||||
|
||||
#include "modules/audio_processing/audio_processing_impl.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -476,6 +476,7 @@ rtc_library("desktop_capture_generic") {
|
||||
deps = [
|
||||
":primitives",
|
||||
"../../api:function_view",
|
||||
"../../api:make_ref_counted",
|
||||
"../../api:refcountedbase",
|
||||
"../../api:scoped_refptr",
|
||||
"../../api:sequence_checker",
|
||||
@ -485,7 +486,6 @@ rtc_library("desktop_capture_generic") {
|
||||
"../../rtc_base:logging",
|
||||
"../../rtc_base:macromagic",
|
||||
"../../rtc_base:random",
|
||||
"../../rtc_base:refcount",
|
||||
"../../rtc_base:stringutils",
|
||||
"../../rtc_base:timeutils",
|
||||
"../../rtc_base/synchronization:mutex",
|
||||
|
@ -9,6 +9,9 @@
|
||||
*/
|
||||
|
||||
#include "modules/desktop_capture/desktop_capture_options.h"
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
|
||||
#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
|
||||
#include "modules/desktop_capture/mac/full_screen_mac_application_handler.h"
|
||||
#elif defined(WEBRTC_WIN)
|
||||
@ -18,8 +21,6 @@
|
||||
#include "modules/desktop_capture/linux/wayland/shared_screencast_stream.h"
|
||||
#endif
|
||||
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
DesktopCaptureOptions::DesktopCaptureOptions() {}
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "modules/video_capture/linux/video_capture_v4l2.h"
|
||||
#include "modules/video_capture/video_capture.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace videocapturemodule {
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "media/base/video_common.h"
|
||||
#include "modules/video_capture/video_capture.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace videocapturemodule {
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "common_video/libyuv/include/webrtc_libyuv.h"
|
||||
#include "modules/video_capture/video_capture_config.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
#include "rtc_base/trace_event.h"
|
||||
#include "libyuv/include/libyuv.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "modules/video_capture/windows/video_capture_ds.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace videocapturemodule {
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "modules/video_coding/codecs/vp9/include/vp9.h"
|
||||
#include "modules/video_coding/include/video_codec_interface.h"
|
||||
#include "modules/video_coding/include/video_error_codes.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "test/video_codec_settings.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "rtc_base/numerics/exp_filter.h"
|
||||
#include "rtc_base/rate_statistics.h"
|
||||
#include "rtc_base/ref_count.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/system/no_unique_address.h"
|
||||
#include "rtc_base/task_queue.h"
|
||||
#include "rtc_base/weak_ptr.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "rtc_base/experiments/quality_scaling_experiment.h"
|
||||
#include "rtc_base/numerics/moving_average.h"
|
||||
#include "rtc_base/ref_count.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/system/no_unique_address.h"
|
||||
#include "rtc_base/task_queue.h"
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "api/video_codecs/vp8_temporal_layers_factory.h"
|
||||
#include "modules/video_coding/codecs/vp9/include/vp9_globals.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
|
@ -133,13 +133,13 @@ rtc_library("dcsctp_socket") {
|
||||
":stream_reset_handler",
|
||||
":transmission_control_block",
|
||||
"../../../api:array_view",
|
||||
"../../../api:make_ref_counted",
|
||||
"../../../api:refcountedbase",
|
||||
"../../../api:scoped_refptr",
|
||||
"../../../api:sequence_checker",
|
||||
"../../../api/task_queue:task_queue",
|
||||
"../../../rtc_base:checks",
|
||||
"../../../rtc_base:logging",
|
||||
"../../../rtc_base:refcount",
|
||||
"../../../rtc_base:stringutils",
|
||||
"../common:internal_types",
|
||||
"../packet:bounded_io",
|
||||
|
@ -9,6 +9,8 @@
|
||||
*/
|
||||
#include "net/dcsctp/socket/callback_deferrer.h"
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
|
||||
namespace dcsctp {
|
||||
namespace {
|
||||
// A wrapper around the move-only DcSctpMessage, to let it be captured in a
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "api/task_queue/task_queue_base.h"
|
||||
#include "net/dcsctp/public/dcsctp_message.h"
|
||||
#include "net/dcsctp/public/dcsctp_socket.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace dcsctp {
|
||||
// Defers callbacks until they can be safely triggered.
|
||||
|
2
third_party/libwebrtc/p2p/BUILD.gn
vendored
2
third_party/libwebrtc/p2p/BUILD.gn
vendored
@ -90,6 +90,7 @@ rtc_library("rtc_p2p") {
|
||||
"../api:async_dns_resolver",
|
||||
"../api:field_trials_view",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:make_ref_counted",
|
||||
"../api:packet_socket_factory",
|
||||
"../api:rtc_error",
|
||||
"../api:scoped_refptr",
|
||||
@ -273,7 +274,6 @@ if (rtc_include_tests) {
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:net_helpers",
|
||||
"../rtc_base:network_constants",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base_tests_utils",
|
||||
"../rtc_base:socket",
|
||||
"../rtc_base:socket_address",
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "p2p/base/basic_ice_controller.h"
|
||||
#include "p2p/base/ice_controller_factory_interface.h"
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "p2p/base/port.h"
|
||||
#include "p2p/base/stun_server.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "rtc_base/virtual_socket_server.h"
|
||||
|
29
third_party/libwebrtc/pc/BUILD.gn
vendored
29
third_party/libwebrtc/pc/BUILD.gn
vendored
@ -50,7 +50,6 @@ rtc_library("proxy") {
|
||||
"../api/task_queue",
|
||||
"../rtc_base:event_tracer",
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_event",
|
||||
"../rtc_base:stringutils",
|
||||
"../rtc_base:threading",
|
||||
@ -147,6 +146,7 @@ rtc_source_set("dtls_transport") {
|
||||
deps = [
|
||||
":ice_transport",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:make_ref_counted",
|
||||
"../api:scoped_refptr",
|
||||
"../api:sequence_checker",
|
||||
"../p2p:rtc_p2p",
|
||||
@ -154,7 +154,6 @@ rtc_source_set("dtls_transport") {
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base/synchronization:mutex",
|
||||
]
|
||||
@ -223,7 +222,6 @@ rtc_source_set("jsep_transport") {
|
||||
"../rtc_base:event_tracer",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:stringutils",
|
||||
"../rtc_base:threading",
|
||||
]
|
||||
@ -293,7 +291,6 @@ rtc_source_set("jsep_transport_controller") {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base/third_party/sigslot",
|
||||
]
|
||||
@ -870,7 +867,6 @@ rtc_library("sctp_data_channel") {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base:threading",
|
||||
@ -1119,7 +1115,6 @@ rtc_source_set("sdp_offer_answer") {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_operations_chain",
|
||||
"../rtc_base:stringutils",
|
||||
"../rtc_base:threading",
|
||||
@ -1150,7 +1145,6 @@ rtc_source_set("local_audio_source") {
|
||||
"../api:audio_options_api",
|
||||
"../api:media_stream_interface",
|
||||
"../api:scoped_refptr",
|
||||
"../rtc_base:refcount",
|
||||
]
|
||||
}
|
||||
rtc_source_set("peer_connection") {
|
||||
@ -1220,7 +1214,6 @@ rtc_source_set("peer_connection") {
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:network_constants",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:socket_address",
|
||||
"../rtc_base:stringutils",
|
||||
"../rtc_base:threading",
|
||||
@ -1400,7 +1393,6 @@ rtc_source_set("webrtc_session_description_factory") {
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base",
|
||||
"../rtc_base:stringutils",
|
||||
"../rtc_base:threading",
|
||||
@ -1494,7 +1486,6 @@ rtc_source_set("peer_connection_factory") {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base",
|
||||
"../rtc_base:safe_conversions",
|
||||
"../rtc_base:threading",
|
||||
@ -1572,7 +1563,6 @@ rtc_library("rtp_transceiver") {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base/task_utils:pending_task_safety_flag",
|
||||
"../rtc_base/task_utils:to_queued_task",
|
||||
@ -1616,7 +1606,6 @@ rtc_library("rtp_transmission_manager") {
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base:weak_ptr",
|
||||
"../rtc_base/third_party/sigslot",
|
||||
@ -1667,7 +1656,6 @@ rtc_library("rtp_receiver") {
|
||||
"../media:rtc_media_base",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base",
|
||||
"../rtc_base:threading",
|
||||
]
|
||||
@ -1704,7 +1692,6 @@ rtc_library("audio_rtp_receiver") {
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base/system:no_unique_address",
|
||||
"../rtc_base/task_utils:pending_task_safety_flag",
|
||||
@ -1746,7 +1733,6 @@ rtc_library("video_rtp_receiver") {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base/system:no_unique_address",
|
||||
]
|
||||
@ -1788,7 +1774,6 @@ rtc_library("audio_track") {
|
||||
"../api:scoped_refptr",
|
||||
"../api:sequence_checker",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base/system:no_unique_address",
|
||||
]
|
||||
}
|
||||
@ -1810,7 +1795,6 @@ rtc_library("video_track") {
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base/system:no_unique_address",
|
||||
]
|
||||
@ -1894,7 +1878,6 @@ rtc_library("rtp_sender") {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base/synchronization:mutex",
|
||||
@ -1972,7 +1955,6 @@ rtc_library("media_stream") {
|
||||
"../api:media_stream_interface",
|
||||
"../api:scoped_refptr",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base",
|
||||
]
|
||||
absl_deps = [
|
||||
@ -2081,6 +2063,8 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../api:audio_options_api",
|
||||
"../api:ice_transport_factory",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:make_ref_counted",
|
||||
"../api:make_ref_counted",
|
||||
"../api:rtc_error",
|
||||
"../api:rtp_headers",
|
||||
"../api:rtp_parameters",
|
||||
@ -2111,7 +2095,6 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base_tests_utils",
|
||||
"../rtc_base:socket_address",
|
||||
"../rtc_base:stringutils",
|
||||
@ -2177,7 +2160,6 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:gunit_helpers",
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base_tests_utils",
|
||||
"../rtc_base:socket_address",
|
||||
"../rtc_base:socket_factory",
|
||||
@ -2209,7 +2191,6 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:gunit_helpers",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:refcount",
|
||||
"../test:test_support",
|
||||
]
|
||||
}
|
||||
@ -2343,6 +2324,7 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../api:function_view",
|
||||
"../api:libjingle_logging_api",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:make_ref_counted",
|
||||
"../api:media_stream_interface",
|
||||
"../api:mock_encoder_selector",
|
||||
"../api:mock_video_track",
|
||||
@ -2583,7 +2565,6 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_base_tests_utils",
|
||||
"../rtc_base:rtc_event",
|
||||
"../rtc_base:rtc_json",
|
||||
@ -2658,6 +2639,7 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../api:field_trials_view",
|
||||
"../api:field_trials_view",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:make_ref_counted",
|
||||
"../api:media_stream_interface",
|
||||
"../api:rtc_error",
|
||||
"../api:rtc_stats_api",
|
||||
@ -2689,7 +2671,6 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../rtc_base:location",
|
||||
"../rtc_base:logging",
|
||||
"../rtc_base:macromagic",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_task_queue",
|
||||
"../rtc_base:stringutils",
|
||||
"../rtc_base:task_queue_for_test",
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "pc/media_stream_track_proxy.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/task_utils/to_queued_task.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "pc/media_stream_track_proxy.h"
|
||||
#include "pc/remote_audio_source.h"
|
||||
#include "pc/rtp_receiver.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/system/no_unique_address.h"
|
||||
#include "rtc_base/task_utils/pending_task_safety_flag.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#include "pc/test/mock_voice_media_channel.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
|
1
third_party/libwebrtc/pc/audio_track.cc
vendored
1
third_party/libwebrtc/pc/audio_track.cc
vendored
@ -11,7 +11,6 @@
|
||||
#include "pc/audio_track.h"
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
2
third_party/libwebrtc/pc/dtls_transport.cc
vendored
2
third_party/libwebrtc/pc/dtls_transport.cc
vendored
@ -14,11 +14,11 @@
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/dtls_transport_interface.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/sequence_checker.h"
|
||||
#include "pc/ice_transport.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/ssl_stream_adapter.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -14,12 +14,12 @@
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/rtc_error.h"
|
||||
#include "p2p/base/fake_dtls_transport.h"
|
||||
#include "p2p/base/p2p_constants.h"
|
||||
#include "rtc_base/fake_ssl_identity.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate.h"
|
||||
#include "rtc_base/ssl_identity.h"
|
||||
#include "test/gmock.h"
|
||||
|
1
third_party/libwebrtc/pc/dtmf_sender.cc
vendored
1
third_party/libwebrtc/pc/dtmf_sender.cc
vendored
@ -15,7 +15,6 @@
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/task_utils/to_queued_task.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
|
@ -14,10 +14,10 @@
|
||||
#include <utility>
|
||||
|
||||
#include "api/ice_transport_factory.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "p2p/base/fake_ice_transport.h"
|
||||
#include "p2p/base/fake_port_allocator.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
1
third_party/libwebrtc/pc/jsep_transport.cc
vendored
1
third_party/libwebrtc/pc/jsep_transport.cc
vendored
@ -26,7 +26,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/copy_on_write_buffer.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/strings/string_builder.h"
|
||||
#include "rtc_base/trace_event.h"
|
||||
|
||||
|
@ -60,7 +60,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/copy_on_write_buffer.h"
|
||||
#include "rtc_base/helpers.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate.h"
|
||||
#include "rtc_base/ssl_certificate.h"
|
||||
#include "rtc_base/ssl_stream_adapter.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/net_helper.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/ssl_fingerprint.h"
|
||||
#include "rtc_base/ssl_identity.h"
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "rtc_base/helpers.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/net_helper.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/ssl_certificate.h"
|
||||
#include "rtc_base/ssl_identity.h"
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
#include "pc/local_audio_source.h"
|
||||
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
using webrtc::MediaSourceInterface;
|
||||
|
||||
namespace webrtc {
|
||||
|
1
third_party/libwebrtc/pc/media_stream.cc
vendored
1
third_party/libwebrtc/pc/media_stream.cc
vendored
@ -15,7 +15,6 @@
|
||||
#include <utility>
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
1
third_party/libwebrtc/pc/peer_connection.cc
vendored
1
third_party/libwebrtc/pc/peer_connection.cc
vendored
@ -57,7 +57,6 @@
|
||||
#include "rtc_base/net_helper.h"
|
||||
#include "rtc_base/network.h"
|
||||
#include "rtc_base/network_constants.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/string_encode.h"
|
||||
#include "rtc_base/task_utils/to_queued_task.h"
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "pc/test/peer_connection_test_wrapper.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
#include "rtc_base/virtual_socket_server.h"
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "pc/session_description.h"
|
||||
#include "pc/test/mock_peer_connection_observers.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/ssl_fingerprint.h"
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "rtc_base/copy_on_write_buffer.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/physical_socket_server.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/third_party/sigslot/sigslot.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "test/gmock.h"
|
||||
|
@ -49,7 +49,6 @@
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/system/file_wrapper.h"
|
||||
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "rtc_base/fake_network.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/mdns_responder_interface.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "rtc_base/virtual_socket_server.h"
|
||||
|
@ -50,7 +50,6 @@
|
||||
#include "rtc_base/ip_address.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/net_helper.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
@ -83,7 +83,6 @@
|
||||
#include "rtc_base/helpers.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/ssl_certificate.h"
|
||||
#include "rtc_base/ssl_fingerprint.h"
|
||||
|
@ -72,7 +72,6 @@
|
||||
#include "pc/video_track.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
@ -46,7 +46,6 @@
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/helpers.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/socket_factory.h"
|
||||
#include "rtc_base/ssl_certificate.h"
|
||||
|
@ -48,7 +48,6 @@
|
||||
#include "pc/test/mock_peer_connection_observers.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "system_wrappers/include/metrics.h"
|
||||
|
@ -52,7 +52,6 @@
|
||||
#include "pc/session_description.h"
|
||||
#include "pc/test/mock_peer_connection_observers.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/string_encode.h"
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
1
third_party/libwebrtc/pc/proxy.h
vendored
1
third_party/libwebrtc/pc/proxy.h
vendored
@ -71,7 +71,6 @@
|
||||
#include "rtc_base/event.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/message_handler.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/string_utils.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
1
third_party/libwebrtc/pc/proxy_unittest.cc
vendored
1
third_party/libwebrtc/pc/proxy_unittest.cc
vendored
@ -13,6 +13,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/ref_count.h"
|
||||
#include "test/gmock.h"
|
||||
|
@ -53,7 +53,6 @@
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/network_constants.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/ssl_stream_adapter.h"
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/event_tracer.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "rtc_base/trace_event.h"
|
||||
#include "rtc_base/virtual_socket_server.h"
|
||||
|
1
third_party/libwebrtc/pc/rtp_receiver.h
vendored
1
third_party/libwebrtc/pc/rtp_receiver.h
vendored
@ -34,7 +34,6 @@
|
||||
#include "media/base/media_channel.h"
|
||||
#include "media/base/video_broadcaster.h"
|
||||
#include "pc/video_track_source.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
1
third_party/libwebrtc/pc/rtp_sender.cc
vendored
1
third_party/libwebrtc/pc/rtp_sender.cc
vendored
@ -26,7 +26,6 @@
|
||||
#include "rtc_base/helpers.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/trace_event.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -63,7 +63,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/third_party/sigslot/sigslot.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "test/gmock.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/helpers.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/system/unused.h"
|
||||
#include "rtc_base/task_utils/to_queued_task.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "pc/dtls_transport.h"
|
||||
#include "rtc_base/copy_on_write_buffer.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
|
1
third_party/libwebrtc/pc/sdp_offer_answer.cc
vendored
1
third_party/libwebrtc/pc/sdp_offer_answer.cc
vendored
@ -57,7 +57,6 @@
|
||||
#include "rtc_base/helpers.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate.h"
|
||||
#include "rtc_base/ssl_stream_adapter.h"
|
||||
#include "rtc_base/string_encode.h"
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "rtc_base/fake_ssl_identity.h"
|
||||
#include "rtc_base/message_digest.h"
|
||||
#include "rtc_base/net_helper.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/ssl_identity.h"
|
||||
|
@ -12,9 +12,9 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
|
||||
|
@ -108,7 +108,6 @@
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/mdns_responder_interface.h"
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/ssl_stream_adapter.h"
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "pc/test/mock_peer_connection_observers.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/string_encode.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "pc/test/mock_rtp_sender_internal.h"
|
||||
#include "pc/video_track.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/location.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "pc/rtp_receiver.h"
|
||||
#include "pc/video_rtp_track_source.h"
|
||||
#include "pc/video_track.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/system/no_unique_address.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user