| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH |
| 23 * DAMAGE. | 23 * DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef DeferredTaskHandler_h | 26 #ifndef DeferredTaskHandler_h |
| 27 #define DeferredTaskHandler_h | 27 #define DeferredTaskHandler_h |
| 28 | 28 |
| 29 #include "modules/ModulesExport.h" | 29 #include "modules/ModulesExport.h" |
| 30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
| 31 #include "wtf/HashSet.h" | 31 #include "platform/wtf/HashSet.h" |
| 32 #include "wtf/PassRefPtr.h" | 32 #include "platform/wtf/PassRefPtr.h" |
| 33 #include "wtf/RefPtr.h" | 33 #include "platform/wtf/RefPtr.h" |
| 34 #include "wtf/ThreadSafeRefCounted.h" | 34 #include "platform/wtf/ThreadSafeRefCounted.h" |
| 35 #include "wtf/Threading.h" | 35 #include "platform/wtf/Threading.h" |
| 36 #include "wtf/ThreadingPrimitives.h" | 36 #include "platform/wtf/ThreadingPrimitives.h" |
| 37 #include "wtf/Vector.h" | 37 #include "platform/wtf/Vector.h" |
| 38 #include "wtf/build_config.h" | 38 #include "platform/wtf/build_config.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class BaseAudioContext; | 42 class BaseAudioContext; |
| 43 class OfflineAudioContext; | 43 class OfflineAudioContext; |
| 44 class AudioHandler; | 44 class AudioHandler; |
| 45 class AudioNodeOutput; | 45 class AudioNodeOutput; |
| 46 class AudioSummingJunction; | 46 class AudioSummingJunction; |
| 47 | 47 |
| 48 // DeferredTaskHandler manages the major part of pre- and post- rendering tasks, | 48 // DeferredTaskHandler manages the major part of pre- and post- rendering tasks, |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 Vector<RefPtr<AudioHandler>> deletable_orphan_handlers_; | 200 Vector<RefPtr<AudioHandler>> deletable_orphan_handlers_; |
| 201 | 201 |
| 202 // Graph locking. | 202 // Graph locking. |
| 203 RecursiveMutex context_graph_mutex_; | 203 RecursiveMutex context_graph_mutex_; |
| 204 volatile ThreadIdentifier audio_thread_; | 204 volatile ThreadIdentifier audio_thread_; |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 } // namespace blink | 207 } // namespace blink |
| 208 | 208 |
| 209 #endif // DeferredTaskHandler_h | 209 #endif // DeferredTaskHandler_h |
| OLD | NEW |