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

Unified Diff: webrtc/modules/audio_device/ios/audio_device_ios.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
Index: webrtc/modules/audio_device/ios/audio_device_ios.h
diff --git a/webrtc/modules/audio_device/ios/audio_device_ios.h b/webrtc/modules/audio_device/ios/audio_device_ios.h
index 7cccc16b59f8b4f8f1197f4268b15de5d05a5075..5c15c7f05d5a74da217851c3caeeeaab02367bd1 100644
--- a/webrtc/modules/audio_device/ios/audio_device_ios.h
+++ b/webrtc/modules/audio_device/ios/audio_device_ios.h
@@ -269,7 +269,7 @@ class AudioDeviceIOS : public AudioDeviceGeneric,
volatile int playing_;
// Set to true after successful call to Init(), false otherwise.
- bool initialized_ ACCESS_ON(thread_checker_);
+ bool initialized_ RTC_ACCESS_ON(thread_checker_);
// Set to true after successful call to InitRecording() or InitPlayout(),
// false otherwise.
@@ -280,14 +280,14 @@ class AudioDeviceIOS : public AudioDeviceGeneric,
// Audio interruption observer instance.
RTCAudioSessionDelegateAdapter* audio_session_observer_
- ACCESS_ON(thread_checker_);
+ RTC_ACCESS_ON(thread_checker_);
// Set to true if we've activated the audio session.
- bool has_configured_session_ ACCESS_ON(thread_checker_);
+ bool has_configured_session_ RTC_ACCESS_ON(thread_checker_);
// Counts number of detected audio glitches on the playout side.
- int64_t num_detected_playout_glitches_ ACCESS_ON(thread_checker_);
- int64_t last_playout_time_ ACCESS_ON(io_thread_checker_);
+ int64_t num_detected_playout_glitches_ RTC_ACCESS_ON(thread_checker_);
+ int64_t last_playout_time_ RTC_ACCESS_ON(io_thread_checker_);
// Counts number of playout callbacks per call.
// The value isupdated on the native I/O thread and later read on the
@@ -296,7 +296,7 @@ class AudioDeviceIOS : public AudioDeviceGeneric,
int64_t num_playout_callbacks_;
// Contains the time for when the last output volume change was detected.
- int64_t last_output_volume_change_time_ ACCESS_ON(thread_checker_);
+ int64_t last_output_volume_change_time_ RTC_ACCESS_ON(thread_checker_);
// Exposes private members for testing purposes only.
FRIEND_TEST_ALL_PREFIXES(AudioDeviceTest, testInterruptedAudioSession);
« no previous file with comments | « webrtc/modules/audio_device/audio_device_unittest.cc ('k') | webrtc/modules/audio_device/linux/audio_device_alsa_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698