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