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

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

Issue 2515653002: Convert rtc_event_log from webrtc::Clock to rtc::TimeMicros. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: webrtc/logging/rtc_event_log/rtc_event_log.h
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log.h b/webrtc/logging/rtc_event_log/rtc_event_log.h
index ec57b8b394f45e1d9c719be1a78dc4738ee0e42b..301e0ed27d788eab45e69ba1ac9fba4d60188495 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log.h
+++ b/webrtc/logging/rtc_event_log/rtc_event_log.h
@@ -40,7 +40,13 @@ class RtcEventLog {
virtual ~RtcEventLog() {}
// Factory method to create an RtcEventLog object.
- static std::unique_ptr<RtcEventLog> Create(const Clock* clock);
+ static std::unique_ptr<RtcEventLog> Create();
+ // TODO(nisse): webrtc::Clock is deprecated. Delete this method and
+ // above forward declaration of Clock when
+ // webrtc/system_wrappers/include/clock.h is deleted.
+ static std::unique_ptr<RtcEventLog> Create(const Clock* clock) {
+ return Create();
+ }
// Create an RtcEventLog object that does nothing.
static std::unique_ptr<RtcEventLog> CreateNull();

Powered by Google App Engine
This is Rietveld 408576698