Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MediaKeysClient_h | |
| 6 #define MediaKeysClient_h | |
| 7 | |
| 8 #include "wtf/PassOwnPtr.h" | |
| 9 #include "wtf/text/WTFString.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 class WebContentDecryptionModule; | |
| 13 } | |
| 14 | |
| 15 namespace WebCore { | |
| 16 | |
| 17 class ExecutionContext; | |
| 18 class Page; | |
| 19 | |
| 20 class MediaKeysClient { | |
| 21 public: | |
| 22 virtual PassOwnPtr<blink::WebContentDecryptionModule> createContentDecryptio nModule(ExecutionContext*, const String& keySystem) = 0; | |
| 23 | |
| 24 protected: | |
| 25 virtual ~MediaKeysClient() { } | |
| 26 }; | |
| 27 | |
| 28 void provideMediaKeysTo(Page&, MediaKeysClient*); | |
|
acolwell GONE FROM CHROMIUM
2014/03/19 00:28:54
I still think this is weird. Is there any reason n
jrummell
2014/03/20 19:17:32
Done. Still have to provide the client since we ne
| |
| 29 | |
| 30 } // namespace WebCore | |
| 31 | |
| 32 #endif // MediaKeysClient_h | |
| 33 | |
| OLD | NEW |