OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ |
| 7 |
| 8 #include "base/string16.h" |
| 9 #include "third_party/WebKit/public/platform/WebContentDecryptionModule.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 class WebContentDecryptionModuleImpl |
| 14 : public WebKit::WebContentDecryptionModule { |
| 15 public: |
| 16 static WebContentDecryptionModuleImpl* Create(const string16& key_system); |
| 17 |
| 18 virtual ~WebContentDecryptionModuleImpl(); |
| 19 |
| 20 // WebKit::WebContentDecryptionModule implementation. |
| 21 virtual WebKit::WebContentDecryptionModuleSession* createSession( |
| 22 WebKit::WebContentDecryptionModuleSession::Client*); |
| 23 |
| 24 private: |
| 25 explicit WebContentDecryptionModuleImpl(const string16& key_system); |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(WebContentDecryptionModuleImpl); |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_RENDERER_MEDIA_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ |
OLD | NEW |