| 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 class WebContentDecryptionModule; | |
| 13 } | |
| 14 | |
| 15 namespace blink { | |
| 16 | 12 |
| 17 class ExecutionContext; | 13 class ExecutionContext; |
| 18 class Page; | 14 class Page; |
| 15 class WebContentDecryptionModule; |
| 19 | 16 |
| 20 class MediaKeysClient { | 17 class MediaKeysClient { |
| 21 public: | 18 public: |
| 22 virtual PassOwnPtr<blink::WebContentDecryptionModule> createContentDecryptio
nModule(ExecutionContext*, const String& keySystem) = 0; | 19 virtual PassOwnPtr<WebContentDecryptionModule> createContentDecryptionModule
(ExecutionContext*, const String& keySystem) = 0; |
| 23 | 20 |
| 24 protected: | 21 protected: |
| 25 virtual ~MediaKeysClient() { } | 22 virtual ~MediaKeysClient() { } |
| 26 }; | 23 }; |
| 27 | 24 |
| 28 } // namespace blink | 25 } // namespace blink |
| 29 | 26 |
| 30 #endif // MediaKeysClient_h | 27 #endif // MediaKeysClient_h |
| 31 | 28 |
| OLD | NEW |