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

Unified Diff: webrtc/base/timestampaligner.h

Issue 2270773002: Add ThreadChecker to the TimestampAligner class. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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 | « no previous file | webrtc/base/timestampaligner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/timestampaligner.h
diff --git a/webrtc/base/timestampaligner.h b/webrtc/base/timestampaligner.h
index 35008d38c7169e37f9f86faa492dcc6b2c43e641..d59c6a4a4e3382e2a245a77915c77e2a75aba7a6 100644
--- a/webrtc/base/timestampaligner.h
+++ b/webrtc/base/timestampaligner.h
@@ -14,6 +14,7 @@
#include "webrtc/base/basictypes.h"
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/optional.h"
+#include "webrtc/base/thread_checker.h"
namespace rtc {
@@ -29,6 +30,8 @@ class TimestampAligner {
int64_t ClipTimestamp(int64_t filtered_time_us, int64_t system_time_us);
private:
+ rtc::ThreadChecker thread_checker_;
+
// State for the timestamp translation.
int frames_seen_;
// Estimated offset between camera time and system monotonic time.
« no previous file with comments | « no previous file | webrtc/base/timestampaligner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698