summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysClient.h')
-rw-r--r--chromium/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysClient.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysClient.h b/chromium/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysClient.h
new file mode 100644
index 00000000000..2479156b86f
--- /dev/null
+++ b/chromium/third_party/WebKit/Source/modules/encryptedmedia/MediaKeysClient.h
@@ -0,0 +1,33 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MediaKeysClient_h
+#define MediaKeysClient_h
+
+#include "wtf/PassOwnPtr.h"
+#include "wtf/text/WTFString.h"
+
+namespace blink {
+class WebContentDecryptionModule;
+}
+
+namespace WebCore {
+
+class ExecutionContext;
+class Page;
+
+class MediaKeysClient {
+public:
+ virtual PassOwnPtr<blink::WebContentDecryptionModule> createContentDecryptionModule(ExecutionContext*, const String& keySystem) = 0;
+
+protected:
+ virtual ~MediaKeysClient() { }
+};
+
+void provideMediaKeysTo(Page&, MediaKeysClient*);
+
+} // namespace WebCore
+
+#endif // MediaKeysClient_h
+