Chromium Code Reviews| 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..33b1f29a76ffd23661fd1524adf83c405d9ca3fd |
| --- /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); |
|
jamesr
2013/06/12 21:18:49
function names start with an uppercase letter in C
|
| + |
| + virtual ~WebContentDecryptionModuleImpl(); |
| + |
| + // WebKit::WebContentDecryptionModule implementation. |
| + virtual WebKit::WebContentDecryptionModuleSession* createSession( |
| + WebKit::WebContentDecryptionModuleSession::Client*); |
| + |
| + private: |
| + WebContentDecryptionModuleImpl(const string16& key_system); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(WebContentDecryptionModuleImpl); |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ |