OLD | NEW |
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 MediaKeysClientImpl_h | 5 #ifndef MediaKeysClientImpl_h |
6 #define MediaKeysClientImpl_h | 6 #define MediaKeysClientImpl_h |
7 | 7 |
8 #include "modules/encryptedmedia/MediaKeysClient.h" | 8 #include "modules/encryptedmedia/MediaKeysClient.h" |
9 #include "wtf/PassOwnPtr.h" | 9 #include "wtf/PassOwnPtr.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 class WebContentDecryptionModule; | 13 class WebContentDecryptionModule; |
14 class WebViewImpl; | |
15 | 14 |
16 class MediaKeysClientImpl final : public MediaKeysClient { | 15 class MediaKeysClientImpl final : public MediaKeysClient { |
17 public: | 16 public: |
18 MediaKeysClientImpl(); | 17 MediaKeysClientImpl(); |
19 | 18 |
20 // MediaKeysClient implementation. | 19 // MediaKeysClient implementation. |
21 virtual PassOwnPtr<WebContentDecryptionModule> createContentDecryptionModule
(ExecutionContext*, const String& keySystem) override; | 20 virtual PassOwnPtr<WebContentDecryptionModule> createContentDecryptionModule
(ExecutionContext*, const String& keySystem) override; |
22 }; | 21 }; |
23 | 22 |
24 } // namespace blink | 23 } // namespace blink |
25 | 24 |
26 #endif // MediaKeysClientImpl_h | 25 #endif // MediaKeysClientImpl_h |
OLD | NEW |