Ben Murdoch | 07a852d | 2014-03-31 11:51:52 +0100 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef MediaKeysClientImpl_h |
| 6 | #define MediaKeysClientImpl_h |
| 7 | |
| 8 | #include "modules/encryptedmedia/MediaKeysClient.h" |
| 9 | #include "wtf/PassOwnPtr.h" |
| 10 | |
| 11 | namespace blink { |
| 12 | |
| 13 | class WebContentDecryptionModule; |
| 14 | class WebViewImpl; |
| 15 | |
| 16 | class MediaKeysClientImpl FINAL : public WebCore::MediaKeysClient { |
| 17 | public: |
| 18 | MediaKeysClientImpl(); |
| 19 | |
| 20 | // WebCore::MediaKeysClient implementation. |
| 21 | virtual PassOwnPtr<WebContentDecryptionModule> createContentDecryptionModule(WebCore::ExecutionContext*, const String& keySystem) OVERRIDE; |
| 22 | }; |
| 23 | |
| 24 | } // namespace blink |
| 25 | |
| 26 | #endif // MediaKeysClientImpl_h |