| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 AudioWorklet_h | 5 #ifndef AudioWorklet_h |
| 6 #define AudioWorklet_h | 6 #define AudioWorklet_h |
| 7 | 7 |
| 8 #include "core/workers/Worklet.h" | 8 #include "core/workers/Worklet.h" |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 public: | 21 public: |
| 22 static AudioWorklet* create(LocalFrame*); | 22 static AudioWorklet* create(LocalFrame*); |
| 23 ~AudioWorklet() override; | 23 ~AudioWorklet() override; |
| 24 | 24 |
| 25 WorkletGlobalScopeProxy* workletGlobalScopeProxy() const final; | 25 WorkletGlobalScopeProxy* workletGlobalScopeProxy() const final; |
| 26 | 26 |
| 27 DECLARE_VIRTUAL_TRACE(); | 27 DECLARE_VIRTUAL_TRACE(); |
| 28 | 28 |
| 29 private: | 29 private: |
| 30 explicit AudioWorklet(LocalFrame*); | 30 explicit AudioWorklet(LocalFrame*); |
| 31 | |
| 32 // TODO(ikilpatrick): this will change to a raw ptr once we have a thread. | |
| 33 std::unique_ptr<ThreadedWorkletGlobalScopeProxy> m_workletGlobalScopeProxy; | |
| 34 }; | 31 }; |
| 35 | 32 |
| 36 } // namespace blink | 33 } // namespace blink |
| 37 | 34 |
| 38 #endif // AudioWorklet_h | 35 #endif // AudioWorklet_h |
| OLD | NEW |