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

Unified Diff: webrtc/logging/rtc_event_log/rtc_event_log.cc

Issue 3012853002: Update thread annotiation macros to use RTC_ prefix (Closed)
Patch Set: Rebase 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/common_video/include/bitrate_adjuster.h ('k') | webrtc/media/base/adaptedvideotracksource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/logging/rtc_event_log/rtc_event_log.cc
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log.cc b/webrtc/logging/rtc_event_log/rtc_event_log.cc
index d1cad894147000bdd3f6b85a64ae28c876af23bb..7c295aa0e307cae0f82d0f13bb5c9808800832bf 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log.cc
+++ b/webrtc/logging/rtc_event_log/rtc_event_log.cc
@@ -168,15 +168,16 @@ class RtcEventLogImpl final : public RtcEventLog {
// History containing all past configuration events.
std::vector<std::unique_ptr<rtclog::Event>> config_history_
- ACCESS_ON(task_queue_);
+ RTC_ACCESS_ON(task_queue_);
// History containing the most recent (non-configuration) events (~10s).
- std::deque<std::unique_ptr<rtclog::Event>> history_ ACCESS_ON(task_queue_);
+ std::deque<std::unique_ptr<rtclog::Event>> history_
+ RTC_ACCESS_ON(task_queue_);
- std::unique_ptr<FileWrapper> file_ ACCESS_ON(task_queue_);
+ std::unique_ptr<FileWrapper> file_ RTC_ACCESS_ON(task_queue_);
- size_t max_size_bytes_ ACCESS_ON(task_queue_);
- size_t written_bytes_ ACCESS_ON(task_queue_);
+ size_t max_size_bytes_ RTC_ACCESS_ON(task_queue_);
+ size_t written_bytes_ RTC_ACCESS_ON(task_queue_);
// Keep this last to ensure it destructs first, or else tasks living on the
// queue might access other members after they've been torn down.
« no previous file with comments | « webrtc/common_video/include/bitrate_adjuster.h ('k') | webrtc/media/base/adaptedvideotracksource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698