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 <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
13 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
14 #include "media/base/audio_renderer_sink.h" | 16 #include "media/base/audio_renderer_sink.h" |
15 #include "media/blink/media_blink_export.h" | 17 #include "media/blink/media_blink_export.h" |
16 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" | 18 #include "third_party/WebKit/public/platform/WebAudioSourceProvider.h" |
17 #include "third_party/WebKit/public/platform/WebVector.h" | 19 #include "third_party/WebKit/public/platform/WebVector.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 87 |
86 // NOTE: Weak pointers must be invalidated before all other member variables. | 88 // NOTE: Weak pointers must be invalidated before all other member variables. |
87 base::WeakPtrFactory<WebAudioSourceProviderImpl> weak_factory_; | 89 base::WeakPtrFactory<WebAudioSourceProviderImpl> weak_factory_; |
88 | 90 |
89 DISALLOW_IMPLICIT_CONSTRUCTORS(WebAudioSourceProviderImpl); | 91 DISALLOW_IMPLICIT_CONSTRUCTORS(WebAudioSourceProviderImpl); |
90 }; | 92 }; |
91 | 93 |
92 } // namespace media | 94 } // namespace media |
93 | 95 |
94 #endif // MEDIA_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 96 #endif // MEDIA_BLINK_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
OLD | NEW |