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

Unified Diff: webrtc/modules/bitrate_controller/bitrate_controller_impl.h

Issue 3010223002: Update thread annotiation macros in modules to use RTC_ prefix (Closed)
Patch Set: Created 3 years, 3 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/bitrate_controller/bitrate_controller_impl.h
diff --git a/webrtc/modules/bitrate_controller/bitrate_controller_impl.h b/webrtc/modules/bitrate_controller/bitrate_controller_impl.h
index 11a58507739eb9b4c875a054ec2e3a73b8371976..0934fa2d10c454fbefe9604251fafd5890674886 100644
--- a/webrtc/modules/bitrate_controller/bitrate_controller_impl.h
+++ b/webrtc/modules/bitrate_controller/bitrate_controller_impl.h
@@ -83,7 +83,7 @@ class BitrateControllerImpl : public BitrateController {
void OnNetworkChanged(uint32_t bitrate,
uint8_t fraction_loss, // 0 - 255.
- int64_t rtt) EXCLUSIVE_LOCKS_REQUIRED(critsect_);
+ int64_t rtt) RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_);
// Used by process thread.
const Clock* const clock_;
@@ -93,14 +93,14 @@ class BitrateControllerImpl : public BitrateController {
rtc::CriticalSection critsect_;
std::map<uint32_t, uint32_t> ssrc_to_last_received_extended_high_seq_num_
- GUARDED_BY(critsect_);
- SendSideBandwidthEstimation bandwidth_estimation_ GUARDED_BY(critsect_);
- uint32_t reserved_bitrate_bps_ GUARDED_BY(critsect_);
-
- uint32_t last_bitrate_bps_ GUARDED_BY(critsect_);
- uint8_t last_fraction_loss_ GUARDED_BY(critsect_);
- int64_t last_rtt_ms_ GUARDED_BY(critsect_);
- uint32_t last_reserved_bitrate_bps_ GUARDED_BY(critsect_);
+ RTC_GUARDED_BY(critsect_);
+ SendSideBandwidthEstimation bandwidth_estimation_ RTC_GUARDED_BY(critsect_);
+ uint32_t reserved_bitrate_bps_ RTC_GUARDED_BY(critsect_);
+
+ uint32_t last_bitrate_bps_ RTC_GUARDED_BY(critsect_);
+ uint8_t last_fraction_loss_ RTC_GUARDED_BY(critsect_);
+ int64_t last_rtt_ms_ RTC_GUARDED_BY(critsect_);
+ uint32_t last_reserved_bitrate_bps_ RTC_GUARDED_BY(critsect_);
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(BitrateControllerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698