Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: Source/web/MediaKeysClientImpl.h

Issue 195053004: Create Pepper-based CDM for EME WD (Blink changes) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move provideMediaKeysTo() to MediaKeysController Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/MediaKeysClientImpl.h
diff --git a/Source/web/MediaKeysClientImpl.h b/Source/web/MediaKeysClientImpl.h
new file mode 100644
index 0000000000000000000000000000000000000000..504dfbf4a6919bd325f2c8c6c8d35600d455db1d
--- /dev/null
+++ b/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

Powered by Google App Engine
This is Rietveld 408576698