summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/web/MediaKeysClientImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/web/MediaKeysClientImpl.h')
-rw-r--r--chromium/third_party/WebKit/Source/web/MediaKeysClientImpl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/web/MediaKeysClientImpl.h b/chromium/third_party/WebKit/Source/web/MediaKeysClientImpl.h
new file mode 100644
index 00000000000..504dfbf4a69
--- /dev/null
+++ b/chromium/third_party/WebKit/Source/web/MediaKeysClientImpl.h
@@ -0,0 +1,26 @@
+// 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 MediaKeysClientImpl_h
+#define MediaKeysClientImpl_h
+
+#include "modules/encryptedmedia/MediaKeysClient.h"
+#include "wtf/PassOwnPtr.h"
+
+namespace blink {
+
+class WebContentDecryptionModule;
+class WebViewImpl;
+
+class MediaKeysClientImpl FINAL : public WebCore::MediaKeysClient {
+public:
+ MediaKeysClientImpl();
+
+ // WebCore::MediaKeysClient implementation.
+ virtual PassOwnPtr<WebContentDecryptionModule> createContentDecryptionModule(WebCore::ExecutionContext*, const String& keySystem) OVERRIDE;
+};
+
+} // namespace blink
+
+#endif // MediaKeysClientImpl_h