| Index: public/platform/WebCDM.h
|
| diff --git a/public/webview/WebMediaSource.h b/public/platform/WebCDM.h
|
| similarity index 85%
|
| copy from public/webview/WebMediaSource.h
|
| copy to public/platform/WebCDM.h
|
| index 424a687dfa381049240e769de9e23f58da6eb576..a1e0d48fdf80f8ffa9da2fc9e598504bf5585b07 100644
|
| --- a/public/webview/WebMediaSource.h
|
| +++ b/public/platform/WebCDM.h
|
| @@ -28,22 +28,23 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebMediaSource_h
|
| -#define WebMediaSource_h
|
| +#ifndef WebCDM_h
|
| +#define WebCDM_h
|
|
|
| -#include "../platform/WebURL.h"
|
| -#include "WebTimeRange.h"
|
| +#include "public/platform/WebCDMSession.h"
|
|
|
| namespace WebKit {
|
|
|
| -class WebMediaSourceClient;
|
| +// Abstract interface to the Chromium CDMs.
|
|
|
| -class WebMediaSource {
|
| +class WebCDM {
|
| public:
|
| - virtual ~WebMediaSource() { };
|
| - virtual void open(WebMediaSourceClient*) = 0;
|
| + virtual ~WebCDM() { }
|
| +
|
| + // Must return non-null.
|
| + virtual WebCDMSession* createSession(WebCDMSession::Client*) = 0;
|
| };
|
|
|
| } // namespace WebKit
|
|
|
| -#endif
|
| +#endif // WebCDM_h
|
|
|