aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorDanil Chapovalov <danilchap@webrtc.org>2022-10-31 15:16:50 +0100
committerWebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-31 15:43:16 +0000
commitf6e48bf4d1c1e36cffab7330a50891e1d4dd1867 (patch)
treec04a7559374b43ff64809796502fcf77730208f5 /api
parent45b35d442d101d631698ac58fe8eeac2cd935d94 (diff)
downloadwebrtc-f6e48bf4d1c1e36cffab7330a50891e1d4dd1867.tar.gz
Add IWYU pragmas for some api headers
Bug: None Change-Id: I1912e05dbc31d960f36c97151dcb387446535c71 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/280965 Reviewed-by: Florent Castelli <orphis@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38510}
Diffstat (limited to 'api')
-rw-r--r--api/units/data_rate.h2
-rw-r--r--api/units/data_size.h2
-rw-r--r--api/units/frequency.h2
-rw-r--r--api/units/time_delta.h2
-rw-r--r--api/units/timestamp.h1
5 files changed, 5 insertions, 4 deletions
diff --git a/api/units/data_rate.h b/api/units/data_rate.h
index 98572123c5..d813c61156 100644
--- a/api/units/data_rate.h
+++ b/api/units/data_rate.h
@@ -23,7 +23,7 @@
#include "api/units/frequency.h"
#include "api/units/time_delta.h"
#include "rtc_base/checks.h"
-#include "rtc_base/units/unit_base.h"
+#include "rtc_base/units/unit_base.h" // IWYU pragma: export
namespace webrtc {
// DataRate is a class that represents a given data rate. This can be used to
diff --git a/api/units/data_size.h b/api/units/data_size.h
index 6817e24c26..9df6434fb9 100644
--- a/api/units/data_size.h
+++ b/api/units/data_size.h
@@ -18,7 +18,7 @@
#include <string>
#include <type_traits>
-#include "rtc_base/units/unit_base.h"
+#include "rtc_base/units/unit_base.h" // IWYU pragma: export
namespace webrtc {
// DataSize is a class represeting a count of bytes.
diff --git a/api/units/frequency.h b/api/units/frequency.h
index 8e9cc2b5f4..06081e4c0d 100644
--- a/api/units/frequency.h
+++ b/api/units/frequency.h
@@ -20,7 +20,7 @@
#include <type_traits>
#include "api/units/time_delta.h"
-#include "rtc_base/units/unit_base.h"
+#include "rtc_base/units/unit_base.h" // IWYU pragma: export
namespace webrtc {
diff --git a/api/units/time_delta.h b/api/units/time_delta.h
index d5951005e3..5981e32dce 100644
--- a/api/units/time_delta.h
+++ b/api/units/time_delta.h
@@ -19,7 +19,7 @@
#include <string>
#include <type_traits>
-#include "rtc_base/units/unit_base.h"
+#include "rtc_base/units/unit_base.h" // IWYU pragma: export
namespace webrtc {
diff --git a/api/units/timestamp.h b/api/units/timestamp.h
index 1e9f9d1dc5..8aabe05cad 100644
--- a/api/units/timestamp.h
+++ b/api/units/timestamp.h
@@ -20,6 +20,7 @@
#include "api/units/time_delta.h"
#include "rtc_base/checks.h"
+#include "rtc_base/units/unit_base.h" // IWYU pragma: export
namespace webrtc {
// Timestamp represents the time that has passed since some unspecified epoch.