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

Unified Diff: webrtc/system_wrappers/source/metrics_default.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/system_wrappers/include/rw_lock_wrapper.h ('k') | webrtc/system_wrappers/source/trace_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/source/metrics_default.cc
diff --git a/webrtc/system_wrappers/source/metrics_default.cc b/webrtc/system_wrappers/source/metrics_default.cc
index f9a6f6aaf906cb8a697fed920cc675635a7e9405..6e5715ea232f8bfcb289f602ebe0c31aed36f9a4 100644
--- a/webrtc/system_wrappers/source/metrics_default.cc
+++ b/webrtc/system_wrappers/source/metrics_default.cc
@@ -93,7 +93,7 @@ class RtcHistogram {
rtc::CriticalSection crit_;
const int min_;
const int max_;
- SampleInfo info_ GUARDED_BY(crit_);
+ SampleInfo info_ RTC_GUARDED_BY(crit_);
RTC_DISALLOW_COPY_AND_ASSIGN(RtcHistogram);
};
@@ -165,7 +165,8 @@ class RtcHistogramMap {
private:
rtc::CriticalSection crit_;
- std::map<std::string, std::unique_ptr<RtcHistogram>> map_ GUARDED_BY(crit_);
+ std::map<std::string, std::unique_ptr<RtcHistogram>> map_
+ RTC_GUARDED_BY(crit_);
RTC_DISALLOW_COPY_AND_ASSIGN(RtcHistogramMap);
};
« no previous file with comments | « webrtc/system_wrappers/include/rw_lock_wrapper.h ('k') | webrtc/system_wrappers/source/trace_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698