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/Allocator.h" |
9 | 10 |
10 namespace blink { | 11 namespace blink { |
11 | 12 |
12 class MediaKeysClientImpl final : public MediaKeysClient { | 13 class MediaKeysClientImpl final : public MediaKeysClient { |
| 14 DISALLOW_ALLOCATION(); |
13 public: | 15 public: |
14 MediaKeysClientImpl(); | 16 MediaKeysClientImpl(); |
15 | 17 |
16 // MediaKeysClient implementation. | 18 // MediaKeysClient implementation. |
17 WebEncryptedMediaClient* encryptedMediaClient(ExecutionContext*) override; | 19 WebEncryptedMediaClient* encryptedMediaClient(ExecutionContext*) override; |
18 }; | 20 }; |
19 | 21 |
20 } // namespace blink | 22 } // namespace blink |
21 | 23 |
22 #endif // MediaKeysClientImpl_h | 24 #endif // MediaKeysClientImpl_h |
OLD | NEW |