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

Side by Side Diff: webrtc/modules/audio_device/ios/audio_session_observer.h

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_SESSION_OBSERVER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_SESSION_OBSERVER_H_
12 #define WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_SESSION_OBSERVER_H_ 12 #define WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_SESSION_OBSERVER_H_
13 13
14 #include "webrtc/rtc_base/asyncinvoker.h" 14 #include "webrtc/base/asyncinvoker.h"
15 #include "webrtc/rtc_base/thread.h" 15 #include "webrtc/base/thread.h"
16 16
17 namespace webrtc { 17 namespace webrtc {
18 18
19 // Observer interface for listening to AVAudioSession events. 19 // Observer interface for listening to AVAudioSession events.
20 class AudioSessionObserver { 20 class AudioSessionObserver {
21 public: 21 public:
22 // Called when audio session interruption begins. 22 // Called when audio session interruption begins.
23 virtual void OnInterruptionBegin() = 0; 23 virtual void OnInterruptionBegin() = 0;
24 24
25 // Called when audio session interruption ends. 25 // Called when audio session interruption ends.
26 virtual void OnInterruptionEnd() = 0; 26 virtual void OnInterruptionEnd() = 0;
27 27
28 // Called when audio route changes. 28 // Called when audio route changes.
29 virtual void OnValidRouteChange() = 0; 29 virtual void OnValidRouteChange() = 0;
30 30
31 // Called when the ability to play or record changes. 31 // Called when the ability to play or record changes.
32 virtual void OnCanPlayOrRecordChange(bool can_play_or_record) = 0; 32 virtual void OnCanPlayOrRecordChange(bool can_play_or_record) = 0;
33 33
34 virtual void OnChangedOutputVolume() = 0; 34 virtual void OnChangedOutputVolume() = 0;
35 35
36 protected: 36 protected:
37 virtual ~AudioSessionObserver() {} 37 virtual ~AudioSessionObserver() {}
38 }; 38 };
39 39
40 } // namespace webrtc 40 } // namespace webrtc
41 41
42 #endif // WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_SESSION_OBSERVER_H_ 42 #endif // WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_SESSION_OBSERVER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/ios/audio_device_ios.h ('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