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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h

Issue 1557363002: Remove the WEB_AUDIO compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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
OLDNEW
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 18 matching lines...) Expand all
29 #include "platform/heap/Handle.h" 29 #include "platform/heap/Handle.h"
30 #include "wtf/HashSet.h" 30 #include "wtf/HashSet.h"
31 #include "wtf/PassRefPtr.h" 31 #include "wtf/PassRefPtr.h"
32 #include "wtf/RefPtr.h" 32 #include "wtf/RefPtr.h"
33 #include "wtf/ThreadSafeRefCounted.h" 33 #include "wtf/ThreadSafeRefCounted.h"
34 #include "wtf/Threading.h" 34 #include "wtf/Threading.h"
35 #include "wtf/ThreadingPrimitives.h" 35 #include "wtf/ThreadingPrimitives.h"
36 #include "wtf/Vector.h" 36 #include "wtf/Vector.h"
37 #include "wtf/build_config.h" 37 #include "wtf/build_config.h"
38 38
39 #if ENABLE(WEB_AUDIO)
40
41 namespace blink { 39 namespace blink {
42 40
43 class AbstractAudioContext; 41 class AbstractAudioContext;
44 class OfflineAudioContext; 42 class OfflineAudioContext;
45 class AudioHandler; 43 class AudioHandler;
46 class AudioNodeOutput; 44 class AudioNodeOutput;
47 class AudioSummingJunction; 45 class AudioSummingJunction;
48 46
49 // DeferredTaskHandler manages the major part of pre- and post- rendering tasks, 47 // DeferredTaskHandler manages the major part of pre- and post- rendering tasks,
50 // and provides a lock mechanism against the audio rendering graph. A 48 // and provides a lock mechanism against the audio rendering graph. A
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 Vector<RefPtr<AudioHandler>> m_renderingOrphanHandlers; 186 Vector<RefPtr<AudioHandler>> m_renderingOrphanHandlers;
189 Vector<RefPtr<AudioHandler>> m_deletableOrphanHandlers; 187 Vector<RefPtr<AudioHandler>> m_deletableOrphanHandlers;
190 188
191 // Graph locking. 189 // Graph locking.
192 RecursiveMutex m_contextGraphMutex; 190 RecursiveMutex m_contextGraphMutex;
193 volatile ThreadIdentifier m_audioThread; 191 volatile ThreadIdentifier m_audioThread;
194 }; 192 };
195 193
196 } // namespace blink 194 } // namespace blink
197 195
198 #endif // ENABLE(WEB_AUDIO)
199
200 #endif // DeferredTaskHandler_h 196 #endif // DeferredTaskHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698