Renamed rtc::RateLimiter to rtrc::DataRateLimiter.
This removes a confusing name collision between webrtc::RateLimiter
and rtc::RateLimiter where the header file names were separated only by
an underscore.
Bug: None
Change-Id: Ifcf0a4e62b2bf3bd9057714d7c536f7609ad1b79
Reviewed-on: https://webrtc-review.googlesource.com/58741
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22237}
diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn
index df4969f..50c5c68 100644
--- a/rtc_base/BUILD.gn
+++ b/rtc_base/BUILD.gn
@@ -585,6 +585,8 @@
"crc32.h",
"cryptstring.cc",
"cryptstring.h",
+ "data_rate_limiter.cc",
+ "data_rate_limiter.h",
"dscp.h",
"filerotatingstream.cc",
"filerotatingstream.h",
@@ -630,7 +632,6 @@
"physicalsocketserver.h",
"proxyinfo.cc",
"proxyinfo.h",
- "ratelimiter.cc",
"ratelimiter.h",
"rtccertificate.cc",
"rtccertificate.h",
@@ -1085,6 +1086,7 @@
sources = [
"callback_unittest.cc",
"crc32_unittest.cc",
+ "data_rate_limiter_unittest.cc",
"helpers_unittest.cc",
"httpbase_unittest.cc",
"httpcommon_unittest.cc",
@@ -1098,7 +1100,6 @@
"optionsfile_unittest.cc",
"proxy_unittest.cc",
"ptr_util_unittest.cc",
- "ratelimiter_unittest.cc",
"rollingaccumulator_unittest.cc",
"rtccertificate_unittest.cc",
"rtccertificategenerator_unittest.cc",