From 08b649b6b7ca54559cd6f5c9f6ba6df1c36c8cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Terelius?= Date: Thu, 13 Jun 2024 16:44:09 +0200 Subject: [PATCH] Include-what-you-use api/rtc_event_log_output* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:42226242 Change-Id: Ibf28c25900776f1223dfe9685d2fc299d4da7269 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/354680 Auto-Submit: Björn Terelius Commit-Queue: Harald Alvestrand Reviewed-by: Harald Alvestrand Cr-Commit-Position: refs/heads/main@{#42491} --- api/BUILD.gn | 1 + api/rtc_event_log_output.h | 1 - api/rtc_event_log_output_file.cc | 5 +++++ api/rtc_event_log_output_file.h | 1 + api/rtc_event_log_output_file_unittest.cc | 4 ++++ 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/api/BUILD.gn b/api/BUILD.gn index 283d105163..c68e319da7 100644 --- a/api/BUILD.gn +++ b/api/BUILD.gn @@ -765,6 +765,7 @@ rtc_library("rtc_event_log_output_file") { "../rtc_base:logging", "../rtc_base/system:file_wrapper", "rtc_event_log", + "//third_party/abseil-cpp/absl/strings:string_view", ] } diff --git a/api/rtc_event_log_output.h b/api/rtc_event_log_output.h index f1f84a5f3a..9b55f299ac 100644 --- a/api/rtc_event_log_output.h +++ b/api/rtc_event_log_output.h @@ -11,7 +11,6 @@ #ifndef API_RTC_EVENT_LOG_OUTPUT_H_ #define API_RTC_EVENT_LOG_OUTPUT_H_ -#include #include "absl/strings/string_view.h" diff --git a/api/rtc_event_log_output_file.cc b/api/rtc_event_log_output_file.cc index e1d4c7c711..b31e39a3e7 100644 --- a/api/rtc_event_log_output_file.cc +++ b/api/rtc_event_log_output_file.cc @@ -10,12 +10,17 @@ #include "api/rtc_event_log_output_file.h" +#include +#include #include +#include #include +#include "absl/strings/string_view.h" #include "api/rtc_event_log/rtc_event_log.h" #include "rtc_base/checks.h" #include "rtc_base/logging.h" +#include "rtc_base/system/file_wrapper.h" namespace webrtc { diff --git a/api/rtc_event_log_output_file.h b/api/rtc_event_log_output_file.h index c9ae0a8ede..1f94b0d20a 100644 --- a/api/rtc_event_log_output_file.h +++ b/api/rtc_event_log_output_file.h @@ -16,6 +16,7 @@ #include +#include "absl/strings/string_view.h" #include "api/rtc_event_log_output.h" #include "rtc_base/system/file_wrapper.h" diff --git a/api/rtc_event_log_output_file_unittest.cc b/api/rtc_event_log_output_file_unittest.cc index d2f1e1c6b5..b1441c7cf7 100644 --- a/api/rtc_event_log_output_file_unittest.cc +++ b/api/rtc_event_log_output_file_unittest.cc @@ -10,7 +10,11 @@ #include "api/rtc_event_log_output_file.h" +#include + +#include #include +#include #include #include #include