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

Unified Diff: content/renderer/media/renderer_webcontentdecryptionmodule_impl.h

Issue 16583004: Add Stubbed implementation of WebCDM* interfaces for unprefixed EME APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review feedback Created 7 years, 6 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: content/renderer/media/renderer_webcontentdecryptionmodule_impl.h
diff --git a/content/renderer/media/renderer_webcontentdecryptionmodule_impl.h b/content/renderer/media/renderer_webcontentdecryptionmodule_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..9f9e8f04e9a6697b33afbd24e08b422da03fc76a
--- /dev/null
+++ b/content/renderer/media/renderer_webcontentdecryptionmodule_impl.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2013 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 CONTENT_RENDERER_MEDIA_RENDERER_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
+#define CONTENT_RENDERER_MEDIA_RENDERER_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
+
+#include "base/string16.h"
+#include "third_party/WebKit/public/platform/WebContentDecryptionModule.h"
+
+namespace content {
+
+class RendererWebContentDecryptionModuleImpl
scherkus (not reviewing) 2013/06/12 00:48:44 if we have the "Renderer" prefix do we really need
jamesr 2013/06/12 20:40:49 why "Renderer"? is there any possible implementati
ddorwin 2013/06/12 21:13:00 Done.
+ : public WebKit::WebContentDecryptionModule {
+ public:
+ static RendererWebContentDecryptionModuleImpl* create(
+ const string16& key_system);
+
+ virtual ~RendererWebContentDecryptionModuleImpl();
+
+ // WebKit::WebContentDecryptionModule implementation.
+ virtual WebKit::WebContentDecryptionModuleSession* createSession(
+ WebKit::WebContentDecryptionModuleSession::Client*);
+
+ private:
+ RendererWebContentDecryptionModuleImpl(const string16& key_system);
+
+ DISALLOW_COPY_AND_ASSIGN(RendererWebContentDecryptionModuleImpl);
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MEDIA_RENDERER_WEBCONTENTDECRYPTIONMODULE_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698