OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 5 #ifndef MEDIA_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
6 #define MEDIA_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 6 #define MEDIA_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
13 #include "media/base/audio_renderer_sink.h" | 14 #include "media/base/audio_renderer_sink.h" |
14 #include "media/blink/media_blink_export.h" | 15 #include "media/blink/media_blink_export.h" |
15 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" | 16 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" |
16 #include "third_party/WebKit/public/platform/WebVector.h" | 17 #include "third_party/WebKit/public/platform/WebVector.h" |
17 | 18 |
18 namespace blink { | 19 namespace blink { |
19 class WebAudioSourceProviderClient; | 20 class WebAudioSourceProviderClient; |
20 } | 21 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 85 |
85 // NOTE: Weak pointers must be invalidated before all other member variables. | 86 // NOTE: Weak pointers must be invalidated before all other member variables. |
86 base::WeakPtrFactory<WebAudioSourceProviderImpl> weak_factory_; | 87 base::WeakPtrFactory<WebAudioSourceProviderImpl> weak_factory_; |
87 | 88 |
88 DISALLOW_IMPLICIT_CONSTRUCTORS(WebAudioSourceProviderImpl); | 89 DISALLOW_IMPLICIT_CONSTRUCTORS(WebAudioSourceProviderImpl); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace media | 92 } // namespace media |
92 | 93 |
93 #endif // MEDIA_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 94 #endif // MEDIA_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
OLD | NEW |