Update thread annotiation macros in modules to use RTC_ prefix
BUG=webrtc:8198
Review-Url: https://codereview.webrtc.org/3010223002
Cr-Commit-Position: refs/heads/master@{#19728}
diff --git a/webrtc/modules/bitrate_controller/bitrate_controller_impl.h b/webrtc/modules/bitrate_controller/bitrate_controller_impl.h
index 11a5850..0934fa2 100644
--- a/webrtc/modules/bitrate_controller/bitrate_controller_impl.h
+++ b/webrtc/modules/bitrate_controller/bitrate_controller_impl.h
@@ -83,7 +83,7 @@
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 @@
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_);
+ 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_ 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_);
+ 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);
};