From 6832ee25c04da3b85a75e67dcd6a5b803f71e771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Thu, 24 Jun 2021 16:05:17 +0200 Subject: [PATCH] Delete unneeded references to string_encode.h Bug: webrtc:6424 Change-Id: Ia521bcdfa8b887447ca9ed6f9d89f3ddb0e1dd15 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/223665 Reviewed-by: Harald Alvestrand Commit-Queue: Niels Moller Cr-Commit-Position: refs/heads/master@{#34400} --- api/DEPS | 1 - api/stats_types.cc | 1 + api/stats_types.h | 1 - api/test/DEPS | 3 --- call/audio_send_stream.cc | 1 - modules/audio_coding/neteq/neteq_unittest.cc | 1 - pc/data_channel_controller.cc | 1 - 7 files changed, 1 insertion(+), 8 deletions(-) diff --git a/api/DEPS b/api/DEPS index f0caea5b55..cdd17e9909 100644 --- a/api/DEPS +++ b/api/DEPS @@ -194,7 +194,6 @@ specific_include_rules = { "stats_types\.h": [ "+rtc_base/constructor_magic.h", "+rtc_base/ref_count.h", - "+rtc_base/string_encode.h", "+rtc_base/thread_checker.h", ], diff --git a/api/stats_types.cc b/api/stats_types.cc index 7dcbd134a1..6fdc7e85a5 100644 --- a/api/stats_types.cc +++ b/api/stats_types.cc @@ -15,6 +15,7 @@ #include "absl/algorithm/container.h" #include "rtc_base/checks.h" #include "rtc_base/ref_counted_object.h" +#include "rtc_base/string_encode.h" // TODO(tommi): Could we have a static map of value name -> expected type // and use this to RTC_DCHECK on correct usage (somewhat strongly typed values)? diff --git a/api/stats_types.h b/api/stats_types.h index f910b4a164..d032462da6 100644 --- a/api/stats_types.h +++ b/api/stats_types.h @@ -24,7 +24,6 @@ #include "api/sequence_checker.h" #include "rtc_base/constructor_magic.h" #include "rtc_base/ref_count.h" -#include "rtc_base/string_encode.h" #include "rtc_base/system/rtc_export.h" namespace webrtc { diff --git a/api/test/DEPS b/api/test/DEPS index 2784fcbcd4..329076830c 100644 --- a/api/test/DEPS +++ b/api/test/DEPS @@ -8,9 +8,6 @@ specific_include_rules = { "dummy_peer_connection\.h": [ "+rtc_base/ref_counted_object.h", ], - "fake_constraints\.h": [ - "+rtc_base/string_encode.h", - ], "neteq_factory_with_codecs\.h": [ "+system_wrappers/include/clock.h", ], diff --git a/call/audio_send_stream.cc b/call/audio_send_stream.cc index 9d25b77ba6..916336b929 100644 --- a/call/audio_send_stream.cc +++ b/call/audio_send_stream.cc @@ -12,7 +12,6 @@ #include -#include "rtc_base/string_encode.h" #include "rtc_base/strings/audio_format_to_string.h" #include "rtc_base/strings/string_builder.h" diff --git a/modules/audio_coding/neteq/neteq_unittest.cc b/modules/audio_coding/neteq/neteq_unittest.cc index 8553307b5a..78d0f888bc 100644 --- a/modules/audio_coding/neteq/neteq_unittest.cc +++ b/modules/audio_coding/neteq/neteq_unittest.cc @@ -34,7 +34,6 @@ #include "rtc_base/ignore_wundef.h" #include "rtc_base/message_digest.h" #include "rtc_base/numerics/safe_conversions.h" -#include "rtc_base/string_encode.h" #include "rtc_base/strings/string_builder.h" #include "rtc_base/system/arch.h" #include "test/field_trial.h" diff --git a/pc/data_channel_controller.cc b/pc/data_channel_controller.cc index 7e9724d8bc..7a6fd3c168 100644 --- a/pc/data_channel_controller.cc +++ b/pc/data_channel_controller.cc @@ -21,7 +21,6 @@ #include "pc/sctp_utils.h" #include "rtc_base/location.h" #include "rtc_base/logging.h" -#include "rtc_base/string_encode.h" #include "rtc_base/task_utils/to_queued_task.h" namespace webrtc {