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