diff options
author | Steve Anton <steveanton@webrtc.org> | 2020-01-27 15:45:02 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-28 19:16:18 +0000 |
commit | f417238217396b52fd1e03a7ed6439e03cbc43f8 (patch) | |
tree | 15ebc4a9f93e56b54e38bf1185a4c525c56c8457 /rtc_base | |
parent | ed9a401f277b1d3b6870a0f441341c2103720222 (diff) | |
download | webrtc-f417238217396b52fd1e03a7ed6439e03cbc43f8.tar.gz |
Remove iceRegatherIntervalRange
This was an ICE configuration experiment added a couple years ago that did not end up being used.
Bug: webrtc:11316
Change-Id: Iafb7e1c4f7b4598815f045808dbf6e470172f119
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/167680
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Qingsi Wang <qingsi@webrtc.org>
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30395}
Diffstat (limited to 'rtc_base')
-rw-r--r-- | rtc_base/async_packet_socket.h | 2 | ||||
-rw-r--r-- | rtc_base/time_utils.h | 31 | ||||
-rw-r--r-- | rtc_base/virtual_socket_server.h | 1 |
3 files changed, 3 insertions, 31 deletions
diff --git a/rtc_base/async_packet_socket.h b/rtc_base/async_packet_socket.h index 50c07e2056..d47d57b692 100644 --- a/rtc_base/async_packet_socket.h +++ b/rtc_base/async_packet_socket.h @@ -11,6 +11,8 @@ #ifndef RTC_BASE_ASYNC_PACKET_SOCKET_H_ #define RTC_BASE_ASYNC_PACKET_SOCKET_H_ +#include <vector> + #include "rtc_base/constructor_magic.h" #include "rtc_base/dscp.h" #include "rtc_base/network/sent_packet.h" diff --git a/rtc_base/time_utils.h b/rtc_base/time_utils.h index ef54c35893..147ab8daf8 100644 --- a/rtc_base/time_utils.h +++ b/rtc_base/time_utils.h @@ -14,10 +14,7 @@ #include <stdint.h> #include <time.h> -#include <string> - #include "rtc_base/checks.h" -#include "rtc_base/strings/string_builder.h" #include "rtc_base/system/rtc_export.h" namespace rtc { @@ -137,34 +134,6 @@ int64_t TimeUTCMicros(); // See above. int64_t TimeUTCMillis(); -// Interval of time from the range [min, max] inclusive. -class IntervalRange { - public: - IntervalRange() : min_(0), max_(0) {} - IntervalRange(int min, int max) : min_(min), max_(max) { - RTC_DCHECK_LE(min, max); - } - - int min() const { return min_; } - int max() const { return max_; } - - std::string ToString() const { - rtc::StringBuilder ss; - ss << "[" << min_ << "," << max_ << "]"; - return ss.Release(); - } - - bool operator==(const IntervalRange& o) const { - return min_ == o.min_ && max_ == o.max_; - } - - bool operator!=(const IntervalRange& o) const { return !operator==(o); } - - private: - int min_; - int max_; -}; - } // namespace rtc #endif // RTC_BASE_TIME_UTILS_H_ diff --git a/rtc_base/virtual_socket_server.h b/rtc_base/virtual_socket_server.h index 9d3aa9e633..f45fabf0af 100644 --- a/rtc_base/virtual_socket_server.h +++ b/rtc_base/virtual_socket_server.h @@ -13,6 +13,7 @@ #include <deque> #include <map> +#include <vector> #include "rtc_base/checks.h" #include "rtc_base/constructor_magic.h" |