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