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

Unified Diff: content/renderer/media/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: Fix gcc build. 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/webcontentdecryptionmodule_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webcontentdecryptionmodule_impl.h
diff --git a/content/renderer/media/webcontentdecryptionmodule_impl.h b/content/renderer/media/webcontentdecryptionmodule_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..2cc5b5978d53e82f2edd9f8487bc945c643d5065
--- /dev/null
+++ b/content/renderer/media/webcontentdecryptionmodule_impl.h
@@ -0,0 +1,32 @@
+// 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_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
+#define CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
+
+#include "base/string16.h"
+#include "third_party/WebKit/public/platform/WebContentDecryptionModule.h"
+
+namespace content {
+
+class WebContentDecryptionModuleImpl
+ : public WebKit::WebContentDecryptionModule {
+ public:
+ static WebContentDecryptionModuleImpl* Create(const string16& key_system);
+
+ virtual ~WebContentDecryptionModuleImpl();
+
+ // WebKit::WebContentDecryptionModule implementation.
+ virtual WebKit::WebContentDecryptionModuleSession* createSession(
+ WebKit::WebContentDecryptionModuleSession::Client*);
+
+ private:
+ explicit WebContentDecryptionModuleImpl(const string16& key_system);
+
+ DISALLOW_COPY_AND_ASSIGN(WebContentDecryptionModuleImpl);
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/webcontentdecryptionmodule_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698