OLD | NEW |
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_WIN_AUDIO_DEVICE_LISTENER_WIN_H_ | 5 #ifndef MEDIA_AUDIO_WIN_AUDIO_DEVICE_LISTENER_WIN_H_ |
6 #define MEDIA_AUDIO_WIN_AUDIO_DEVICE_LISTENER_WIN_H_ | 6 #define MEDIA_AUDIO_WIN_AUDIO_DEVICE_LISTENER_WIN_H_ |
7 | 7 |
8 #include <MMDeviceAPI.h> | 8 #include <MMDeviceAPI.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
13 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
14 #include "base/time/time.h" | 13 #include "base/time/time.h" |
15 #include "base/win/scoped_comptr.h" | 14 #include "base/win/scoped_comptr.h" |
16 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
17 | 16 |
18 using base::win::ScopedComPtr; | 17 using base::win::ScopedComPtr; |
19 | 18 |
20 namespace base { | 19 namespace base { |
21 class TickClock; | 20 class TickClock; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 base::ThreadChecker thread_checker_; | 65 base::ThreadChecker thread_checker_; |
67 | 66 |
68 scoped_ptr<base::TickClock> tick_clock_; | 67 scoped_ptr<base::TickClock> tick_clock_; |
69 | 68 |
70 DISALLOW_COPY_AND_ASSIGN(AudioDeviceListenerWin); | 69 DISALLOW_COPY_AND_ASSIGN(AudioDeviceListenerWin); |
71 }; | 70 }; |
72 | 71 |
73 } // namespace media | 72 } // namespace media |
74 | 73 |
75 #endif // MEDIA_AUDIO_WIN_AUDIO_DEVICE_LISTENER_WIN_H_ | 74 #endif // MEDIA_AUDIO_WIN_AUDIO_DEVICE_LISTENER_WIN_H_ |
OLD | NEW |