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

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

Issue 1978063002: [DO NOT SUBMIT] AudioWorklet FS2a: AudioWorkletThread on OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FS2-audiorendersink-audioworkletthread
Patch Set: Created 4 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef AudioWorkletThreadStartupData_h
6 #define AudioWorkletThreadStartupData_h
7
8 #include "platform/heap/Handle.h"
9 #include "platform/weborigin/KURL.h"
10 #include "wtf/Forward.h"
11 #include "wtf/Noncopyable.h"
12
13 namespace blink {
14
15 class SecurityOrigin;
16
17 class AudioWorkletThreadStartupData final {
18 WTF_MAKE_NONCOPYABLE(AudioWorkletThreadStartupData);
19 USING_FAST_MALLOC(AudioWorkletThreadStartupData);
20
21 public:
22 static PassOwnPtr<AudioWorkletThreadStartupData> create(const KURL& url, con st String& userAgent, const SecurityOrigin* securityOrigin)
23 {
24 return adoptPtr(new AudioWorkletThreadStartupData(url, userAgent, securi tyOrigin));
25 }
26
27 ~AudioWorkletThreadStartupData();
28
29 KURL m_url;
30 String m_userAgent;
31 RefPtr<SecurityOrigin> m_securityOrigin;
32
33 private:
34 AudioWorkletThreadStartupData(const KURL&, const String& userAgent, const Se curityOrigin*);
35 };
36
37 } // namespace blink
38
39 #endif // AudioWorkletThreadStartupData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698