Chromium Code Reviews| Index: Source/modules/encryptedmedia/MediaKeySystemAccess.h |
| diff --git a/Source/modules/encryptedmedia/MediaKeySystemAccess.h b/Source/modules/encryptedmedia/MediaKeySystemAccess.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0b7ad1f343925d5e2c5c119babffeba0f3e3c9c8 |
| --- /dev/null |
| +++ b/Source/modules/encryptedmedia/MediaKeySystemAccess.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MediaKeySystemAccess_h |
| +#define MediaKeySystemAccess_h |
| + |
| +#include "bindings/core/v8/ScriptPromise.h" |
| +#include "bindings/core/v8/ScriptWrappable.h" |
| +#include "wtf/text/WTFString.h" |
| + |
| +namespace blink { |
| + |
| +class MediaKeySystemAccess : public GarbageCollectedFinalized<MediaKeySystemAccess>, public ScriptWrappable { |
|
haraken
2014/10/24 01:06:42
Add final.
jrummell
2014/10/24 22:43:22
Done.
|
| + DEFINE_WRAPPERTYPEINFO(); |
| + |
| +public: |
| + MediaKeySystemAccess(const String& keySystem); |
|
haraken
2014/10/24 01:06:42
Add explicit.
jrummell
2014/10/24 22:43:22
Done.
|
| + virtual ~MediaKeySystemAccess(); |
| + |
| + const String& keySystem() const { return m_keySystem; } |
| + ScriptPromise createMediaKeys(ScriptState*); |
| + |
| + void trace(Visitor*); |
| + |
| +private: |
| + const String m_keySystem; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // MediaKeySystemAccess_h |