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

Unified Diff: Source/modules/encryptedmedia/MediaKeysClient.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: passthru 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/modules/encryptedmedia/MediaKeysClient.h
diff --git a/Source/modules/encryptedmedia/MediaKeysClient.h b/Source/modules/encryptedmedia/MediaKeysClient.h
new file mode 100644
index 0000000000000000000000000000000000000000..7bd0f08e2d7c246155938a7813e3f8068a593f4e
--- /dev/null
+++ b/Source/modules/encryptedmedia/MediaKeysClient.h
@@ -0,0 +1,32 @@
+// 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/text/WTFString.h"
+
+namespace blink {
+class WebContentDecryptionModule;
+}
+
+namespace WebCore {
+
+class ExecutionContext;
+class Page;
+
+class MediaKeysClient {
+public:
+ virtual blink::WebContentDecryptionModule* createContentDecryptionModule(ExecutionContext*, const String& keySystem) = 0;
+
+protected:
+ virtual ~MediaKeysClient() { }
+};
+
+void provideMediaKeysTo(Page&, MediaKeysClient*);
acolwell GONE FROM CHROMIUM 2014/03/17 23:34:45 Shouldn't this be provideMediaKeysControllerTo() s
eseidel 2014/03/17 23:48:03 It's also odd that this is in one header and defin
jrummell 2014/03/18 17:05:31 I just followed what was done for UserMediaClient/
+
+} // namespace WebCore
+
+#endif // MediaKeysClient_h
+

Powered by Google App Engine
This is Rietveld 408576698