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_ |