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