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

Unified Diff: webrtc/system_wrappers/source/trace_impl.h

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/source/metrics_default.cc ('k') | webrtc/test/direct_transport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/source/trace_impl.h
diff --git a/webrtc/system_wrappers/source/trace_impl.h b/webrtc/system_wrappers/source/trace_impl.h
index 90e4a3af3b8dd6ba9d11446a32265f101a186d4d..0e36aff4c95c0097495ed49d0e14b65d613aa506 100644
--- a/webrtc/system_wrappers/source/trace_impl.h
+++ b/webrtc/system_wrappers/source/trace_impl.h
@@ -81,7 +81,7 @@ class TraceImpl : public Trace {
bool UpdateFileName(
char file_name_with_counter_utf8[FileWrapper::kMaxFileNameSize],
- const uint32_t new_count) const EXCLUSIVE_LOCKS_REQUIRED(crit_);
+ const uint32_t new_count) const RTC_EXCLUSIVE_LOCKS_REQUIRED(crit_);
bool CreateFileName(
const char file_name_utf8[FileWrapper::kMaxFileNameSize],
@@ -89,14 +89,14 @@ class TraceImpl : public Trace {
const uint32_t new_count) const;
void WriteToFile(const char* msg, uint16_t length)
- EXCLUSIVE_LOCKS_REQUIRED(crit_);
+ RTC_EXCLUSIVE_LOCKS_REQUIRED(crit_);
- TraceCallback* callback_ GUARDED_BY(crit_);
- uint32_t row_count_text_ GUARDED_BY(crit_);
- uint32_t file_count_text_ GUARDED_BY(crit_);
+ TraceCallback* callback_ RTC_GUARDED_BY(crit_);
+ uint32_t row_count_text_ RTC_GUARDED_BY(crit_);
+ uint32_t file_count_text_ RTC_GUARDED_BY(crit_);
- const std::unique_ptr<FileWrapper> trace_file_ GUARDED_BY(crit_);
- std::string trace_file_path_ GUARDED_BY(crit_);
+ const std::unique_ptr<FileWrapper> trace_file_ RTC_GUARDED_BY(crit_);
+ std::string trace_file_path_ RTC_GUARDED_BY(crit_);
rtc::CriticalSection crit_;
};
« no previous file with comments | « webrtc/system_wrappers/source/metrics_default.cc ('k') | webrtc/test/direct_transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698