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

Side by Side Diff: Source/modules/encryptedmedia/MediaKeySystemAccess.h

Issue 949093002: InlinedVisitor: Migrate encryptedmedia to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MediaKeySystemAccess_h 5 #ifndef MediaKeySystemAccess_h
6 #define MediaKeySystemAccess_h 6 #define MediaKeySystemAccess_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "modules/encryptedmedia/MediaKeySystemConfiguration.h" 10 #include "modules/encryptedmedia/MediaKeySystemConfiguration.h"
11 #include "public/platform/WebContentDecryptionModuleAccess.h" 11 #include "public/platform/WebContentDecryptionModuleAccess.h"
12 #include "wtf/Forward.h" 12 #include "wtf/Forward.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class MediaKeySystemAccess final : public GarbageCollectedFinalized<MediaKeySyst emAccess>, public ScriptWrappable { 16 class MediaKeySystemAccess final : public GarbageCollectedFinalized<MediaKeySyst emAccess>, public ScriptWrappable {
17 DEFINE_WRAPPERTYPEINFO(); 17 DEFINE_WRAPPERTYPEINFO();
18 18
19 public: 19 public:
20 MediaKeySystemAccess(const String& keySystem, PassOwnPtr<WebContentDecryptio nModuleAccess>); 20 MediaKeySystemAccess(const String& keySystem, PassOwnPtr<WebContentDecryptio nModuleAccess>);
21 virtual ~MediaKeySystemAccess(); 21 virtual ~MediaKeySystemAccess();
22 22
23 const String& keySystem() const { return m_keySystem; } 23 const String& keySystem() const { return m_keySystem; }
24 void getConfiguration(MediaKeySystemConfiguration& result); 24 void getConfiguration(MediaKeySystemConfiguration& result);
25 ScriptPromise createMediaKeys(ScriptState*); 25 ScriptPromise createMediaKeys(ScriptState*);
26 26
27 void trace(Visitor*); 27 DECLARE_TRACE();
28 28
29 private: 29 private:
30 const String m_keySystem; 30 const String m_keySystem;
31 OwnPtr<WebContentDecryptionModuleAccess> m_access; 31 OwnPtr<WebContentDecryptionModuleAccess> m_access;
32 }; 32 };
33 33
34 } // namespace blink 34 } // namespace blink
35 35
36 #endif // MediaKeySystemAccess_h 36 #endif // MediaKeySystemAccess_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698