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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_packet_history.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
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_header_parser.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtp_packet_history.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet_history.h b/webrtc/modules/rtp_rtcp/source/rtp_packet_history.h
index bffeb5c938d522b55666838ceaa0dbd37c0e568b..9b12436e6695a3cad349ee1426a4abe541877251 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_packet_history.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_packet_history.h
@@ -65,19 +65,19 @@ class RtpPacketHistory {
};
std::unique_ptr<RtpPacketToSend> GetPacket(int index) const
- EXCLUSIVE_LOCKS_REQUIRED(critsect_);
- void Allocate(size_t number_to_store) EXCLUSIVE_LOCKS_REQUIRED(critsect_);
- void Free() EXCLUSIVE_LOCKS_REQUIRED(critsect_);
+ RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_);
+ void Allocate(size_t number_to_store) RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_);
+ void Free() RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_);
bool FindSeqNum(uint16_t sequence_number, int* index) const
- EXCLUSIVE_LOCKS_REQUIRED(critsect_);
+ RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_);
int FindBestFittingPacket(size_t size) const
- EXCLUSIVE_LOCKS_REQUIRED(critsect_);
+ RTC_EXCLUSIVE_LOCKS_REQUIRED(critsect_);
Clock* clock_;
rtc::CriticalSection critsect_;
- bool store_ GUARDED_BY(critsect_);
- uint32_t prev_index_ GUARDED_BY(critsect_);
- std::vector<StoredPacket> stored_packets_ GUARDED_BY(critsect_);
+ bool store_ RTC_GUARDED_BY(critsect_);
+ uint32_t prev_index_ RTC_GUARDED_BY(critsect_);
+ std::vector<StoredPacket> stored_packets_ RTC_GUARDED_BY(critsect_);
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtpPacketHistory);
};
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_header_parser.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698