Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: Source/platform/exported/WebContentDecryptionModuleSession.cpp

Issue 642583003: Implement unprefixed EME APIs that match the latest draft (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013, Google Inc. All rights reserved. 2 * Copyright (C) 2013, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 30 matching lines...) Expand all
41 { 41 {
42 } 42 }
43 43
44 // FIXME: Remove the default implementations of these methods once the new 44 // FIXME: Remove the default implementations of these methods once the new
45 // methods are implemented in Chromium. 45 // methods are implemented in Chromium.
46 void WebContentDecryptionModuleSession::initializeNewSession(const WebString& in itDataType, const unsigned char* initData, size_t initDataLength, const WebStrin g& sessionType, WebContentDecryptionModuleResult result) 46 void WebContentDecryptionModuleSession::initializeNewSession(const WebString& in itDataType, const unsigned char* initData, size_t initDataLength, const WebStrin g& sessionType, WebContentDecryptionModuleResult result)
47 { 47 {
48 ReportError(result); 48 ReportError(result);
49 } 49 }
50 50
51 void WebContentDecryptionModuleSession::load(const WebString& sessionId, WebCont entDecryptionModuleResult result)
52 {
53 ReportError(result);
54 }
55
51 void WebContentDecryptionModuleSession::update(const unsigned char* response, si ze_t responseLength, WebContentDecryptionModuleResult result) 56 void WebContentDecryptionModuleSession::update(const unsigned char* response, si ze_t responseLength, WebContentDecryptionModuleResult result)
52 { 57 {
53 ReportError(result); 58 ReportError(result);
54 } 59 }
55 60
61 void WebContentDecryptionModuleSession::close(WebContentDecryptionModuleResult r esult)
62 {
63 ReportError(result);
64 }
65
66 void WebContentDecryptionModuleSession::remove(WebContentDecryptionModuleResult result)
67 {
68 ReportError(result);
69 }
70
56 void WebContentDecryptionModuleSession::release(WebContentDecryptionModuleResult result) 71 void WebContentDecryptionModuleSession::release(WebContentDecryptionModuleResult result)
57 { 72 {
58 ReportError(result); 73 ReportError(result);
59 } 74 }
60 75
61 } // namespace blink 76 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeySession.cpp ('k') | public/platform/WebContentDecryptionModule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698