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

Unified Diff: webrtc/modules/congestion_controller/delay_based_bwe.h

Issue 2940133003: Use RaceChecker instead of ThreadChecker in a few places. (Closed)
Patch Set: Created 3 years, 6 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
Index: webrtc/modules/congestion_controller/delay_based_bwe.h
diff --git a/webrtc/modules/congestion_controller/delay_based_bwe.h b/webrtc/modules/congestion_controller/delay_based_bwe.h
index c44ea12e1c752479f20fa3798d0f9436823918bd..a2c182d0f81ab6cb73deef088b832670edab4b2f 100644
--- a/webrtc/modules/congestion_controller/delay_based_bwe.h
+++ b/webrtc/modules/congestion_controller/delay_based_bwe.h
@@ -17,7 +17,7 @@
#include "webrtc/base/checks.h"
#include "webrtc/base/constructormagic.h"
-#include "webrtc/base/thread_checker.h"
+#include "webrtc/base/race_checker.h"
#include "webrtc/modules/congestion_controller/median_slope_estimator.h"
#include "webrtc/modules/congestion_controller/probe_bitrate_estimator.h"
#include "webrtc/modules/congestion_controller/trendline_estimator.h"
@@ -70,7 +70,7 @@ class DelayBasedBwe {
bool overusing,
uint32_t* target_bitrate_bps);
- rtc::ThreadChecker network_thread_;
+ rtc::RaceChecker race_checker_;
danilchap 2017/06/16 08:23:31 one of the reason for sync checkers is documentati
erikvarga1 2017/06/16 08:43:25 Done.
RtcEventLog* const event_log_;
const Clock* const clock_;
std::unique_ptr<InterArrival> inter_arrival_;

Powered by Google App Engine
This is Rietveld 408576698