Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Unified Diff: webrtc/logging/rtc_event_log/rtc_event_log.cc

Issue 3012473002: Revert of Add logging of host lookups made by TurnPort to the RtcEventLog. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log.h ('k') | webrtc/logging/rtc_event_log/rtc_event_log.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/logging/rtc_event_log/rtc_event_log.cc
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log.cc b/webrtc/logging/rtc_event_log/rtc_event_log.cc
index 8e39c4aa3227db6d6b7817e3501efdc383ecf6ce..e661e679828dc401ede7bfbce978fd09ae040a7b 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log.cc
+++ b/webrtc/logging/rtc_event_log/rtc_event_log.cc
@@ -94,9 +94,6 @@
void LogProbeResultFailure(int id,
ProbeFailureReason failure_reason) override;
- void LogHostLookupResult(int error,
- int64_t elapsed_time_in_milliseconds) override;
-
private:
// Private constructor to ensure that creation is done by RtcEventLog::Create.
RtcEventLogImpl();
@@ -568,18 +565,6 @@
StoreEvent(std::move(event));
}
-void RtcEventLogImpl::LogHostLookupResult(
- int error,
- int64_t host_lookup_time_ms) {
- std::unique_ptr<rtclog::Event> event(new rtclog::Event());
- event->set_timestamp_us(rtc::TimeMicros());
- event->set_type(rtclog::Event::HOST_LOOKUP_EVENT);
- auto result = event->mutable_host_lookup_result();
- result->set_error(error);
- result->set_host_lookup_time_ms(host_lookup_time_ms);
- StoreEvent(std::move(event));
-}
-
void RtcEventLogImpl::StoreEvent(std::unique_ptr<rtclog::Event> event) {
RTC_DCHECK(event.get() != nullptr);
if (!event_queue_.Insert(&event)) {
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log.h ('k') | webrtc/logging/rtc_event_log/rtc_event_log.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698