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

Unified Diff: webrtc/video_engine/call_stats.h

Issue 1512853002: Nuke TickTime::UseFakeClock. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: feedback Created 5 years 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/test/fake_network_pipe_unittest.cc ('k') | webrtc/video_engine/call_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_engine/call_stats.h
diff --git a/webrtc/video_engine/call_stats.h b/webrtc/video_engine/call_stats.h
index d0a0b5313a15301e52e2469b086e8075cc676ece..0dd7bdbaaeeb9e10c72397c745dd78e6ab4fbc7d 100644
--- a/webrtc/video_engine/call_stats.h
+++ b/webrtc/video_engine/call_stats.h
@@ -16,6 +16,7 @@
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/include/module.h"
+#include "webrtc/system_wrappers/include/clock.h"
namespace webrtc {
@@ -28,7 +29,7 @@ class CallStats : public Module {
public:
friend class RtcpObserver;
- CallStats();
+ explicit CallStats(Clock* clock);
~CallStats();
// Implements Module, to use the process thread.
@@ -57,6 +58,7 @@ class CallStats : public Module {
int64_t avg_rtt_ms() const;
private:
+ Clock* const clock_;
// Protecting all members.
rtc::scoped_ptr<CriticalSectionWrapper> crit_;
// Observer receiving statistics updates.
« no previous file with comments | « webrtc/test/fake_network_pipe_unittest.cc ('k') | webrtc/video_engine/call_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698