Chromium Code Reviews| 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_ |