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

Side by Side Diff: media/audio/mac/audio_device_listener_mac.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « media/audio/mac/audio_auhal_mac.h ('k') | media/audio/mac/audio_input_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_AUDIO_MAC_AUDIO_DEVICE_LISTENER_MAC_H_ 5 #ifndef MEDIA_AUDIO_MAC_AUDIO_DEVICE_LISTENER_MAC_H_
6 #define MEDIA_AUDIO_MAC_AUDIO_DEVICE_LISTENER_MAC_H_ 6 #define MEDIA_AUDIO_MAC_AUDIO_DEVICE_LISTENER_MAC_H_
7 7
8 #include <CoreAudio/AudioHardware.h> 8 #include <CoreAudio/AudioHardware.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h"
11 #include "base/threading/thread_checker.h" 12 #include "base/threading/thread_checker.h"
12 #include "media/base/media_export.h" 13 #include "media/base/media_export.h"
13 14
14 namespace media { 15 namespace media {
15 16
16 // AudioDeviceListenerMac facilitates execution of device listener callbacks 17 // AudioDeviceListenerMac facilitates execution of device listener callbacks
17 // issued via CoreAudio. 18 // issued via CoreAudio.
18 class MEDIA_EXPORT AudioDeviceListenerMac { 19 class MEDIA_EXPORT AudioDeviceListenerMac {
19 public: 20 public:
20 // |listener_cb| will be called when a device change occurs; it's a permanent 21 // |listener_cb| will be called when a device change occurs; it's a permanent
(...skipping 15 matching lines...) Expand all
36 // AudioDeviceListenerMac must be constructed and destructed on the same 37 // AudioDeviceListenerMac must be constructed and destructed on the same
37 // thread. 38 // thread.
38 base::ThreadChecker thread_checker_; 39 base::ThreadChecker thread_checker_;
39 40
40 DISALLOW_COPY_AND_ASSIGN(AudioDeviceListenerMac); 41 DISALLOW_COPY_AND_ASSIGN(AudioDeviceListenerMac);
41 }; 42 };
42 43
43 } // namespace media 44 } // namespace media
44 45
45 #endif // MEDIA_AUDIO_MAC_AUDIO_DEVICE_LISTENER_MAC_H_ 46 #endif // MEDIA_AUDIO_MAC_AUDIO_DEVICE_LISTENER_MAC_H_
OLDNEW
« no previous file with comments | « media/audio/mac/audio_auhal_mac.h ('k') | media/audio/mac/audio_input_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698