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 MediaKeysClient_h | 5 #ifndef MediaKeysClient_h |
6 #define MediaKeysClient_h | 6 #define MediaKeysClient_h |
7 | 7 |
8 #include "wtf/PassOwnPtr.h" | |
9 #include "wtf/text/WTFString.h" | |
10 | |
11 namespace blink { | 8 namespace blink { |
12 | 9 |
13 class ExecutionContext; | 10 class ExecutionContext; |
14 class WebContentDecryptionModule; | |
15 class WebEncryptedMediaClient; | 11 class WebEncryptedMediaClient; |
16 | 12 |
17 class MediaKeysClient { | 13 class MediaKeysClient { |
18 public: | 14 public: |
19 virtual WebEncryptedMediaClient* encryptedMediaClient(ExecutionContext*) = 0
; | 15 virtual WebEncryptedMediaClient* encryptedMediaClient(ExecutionContext*) = 0
; |
20 | 16 |
21 protected: | 17 protected: |
22 virtual ~MediaKeysClient() { } | 18 virtual ~MediaKeysClient() { } |
23 }; | 19 }; |
24 | 20 |
25 } // namespace blink | 21 } // namespace blink |
26 | 22 |
27 #endif // MediaKeysClient_h | 23 #endif // MediaKeysClient_h |
28 | |
OLD | NEW |