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

Unified Diff: webrtc/test/fake_audio_device.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/test/direct_transport.h ('k') | webrtc/test/fake_encoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/fake_audio_device.h
diff --git a/webrtc/test/fake_audio_device.h b/webrtc/test/fake_audio_device.h
index db56c745e04b4d4617af7ae594f32d12f27ef35a..939d16a41108d166fbaa719b08b728ccba5340f0 100644
--- a/webrtc/test/fake_audio_device.h
+++ b/webrtc/test/fake_audio_device.h
@@ -121,19 +121,19 @@ class FakeAudioDevice : public FakeAudioDeviceModule {
static bool Run(void* obj);
void ProcessAudio();
- const std::unique_ptr<Capturer> capturer_ GUARDED_BY(lock_);
- const std::unique_ptr<Renderer> renderer_ GUARDED_BY(lock_);
+ const std::unique_ptr<Capturer> capturer_ RTC_GUARDED_BY(lock_);
+ const std::unique_ptr<Renderer> renderer_ RTC_GUARDED_BY(lock_);
const float speed_;
rtc::CriticalSection lock_;
- AudioTransport* audio_callback_ GUARDED_BY(lock_);
- bool rendering_ GUARDED_BY(lock_);
- bool capturing_ GUARDED_BY(lock_);
+ AudioTransport* audio_callback_ RTC_GUARDED_BY(lock_);
+ bool rendering_ RTC_GUARDED_BY(lock_);
+ bool capturing_ RTC_GUARDED_BY(lock_);
rtc::Event done_rendering_;
rtc::Event done_capturing_;
- std::vector<int16_t> playout_buffer_ GUARDED_BY(lock_);
- rtc::BufferT<int16_t> recording_buffer_ GUARDED_BY(lock_);
+ std::vector<int16_t> playout_buffer_ RTC_GUARDED_BY(lock_);
+ rtc::BufferT<int16_t> recording_buffer_ RTC_GUARDED_BY(lock_);
std::unique_ptr<EventTimerWrapper> tick_;
rtc::PlatformThread thread_;
« no previous file with comments | « webrtc/test/direct_transport.h ('k') | webrtc/test/fake_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698