| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |