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

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

Issue 641433002: Implement MediaKeySession.load() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changes 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
56 void WebContentDecryptionModuleSession::release(WebContentDecryptionModuleResult result) 61 void WebContentDecryptionModuleSession::release(WebContentDecryptionModuleResult result)
57 { 62 {
58 ReportError(result); 63 ReportError(result);
59 } 64 }
60 65
61 } // namespace blink 66 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698