Chromium Code Reviews| 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 64 | 64 |
| 65 virtual void setClientInterface(Client*) = 0; | 65 virtual void setClientInterface(Client*) = 0; |
| 66 virtual WebString sessionId() const = 0; | 66 virtual WebString sessionId() const = 0; |
| 67 | 67 |
| 68 // FIXME: Remove these methods once the new methods are implemented in Chrom ium. | 68 // FIXME: Remove these methods once the new methods are implemented in Chrom ium. |
| 69 virtual void initializeNewSession(const WebString& mimeType, const unsigned char* initData, size_t initDataLength) = 0; | 69 virtual void initializeNewSession(const WebString& mimeType, const unsigned char* initData, size_t initDataLength) = 0; |
| 70 virtual void update(const unsigned char* response, size_t responseLength) = 0; | 70 virtual void update(const unsigned char* response, size_t responseLength) = 0; |
| 71 virtual void release() = 0; | 71 virtual void release() = 0; |
| 72 | 72 |
| 73 virtual void initializeNewSession(const WebString& initDataType, const unsig ned char* initData, size_t initDataLength, const WebString& sessionType, WebCont entDecryptionModuleResult); | 73 virtual void initializeNewSession(const WebString& initDataType, const unsig ned char* initData, size_t initDataLength, const WebString& sessionType, WebCont entDecryptionModuleResult); |
| 74 virtual void loadSession(const WebString& sessionId, WebContentDecryptionMod uleResult); | |
|
sandersd (OOO until July 31)
2014/10/08 18:18:22
load() to match update/release?
jrummell
2014/10/08 21:13:20
Done.
| |
| 74 virtual void update(const unsigned char* response, size_t responseLength, We bContentDecryptionModuleResult); | 75 virtual void update(const unsigned char* response, size_t responseLength, We bContentDecryptionModuleResult); |
| 75 virtual void release(WebContentDecryptionModuleResult); | 76 virtual void release(WebContentDecryptionModuleResult); |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 } // namespace blink | 79 } // namespace blink |
| 79 | 80 |
| 80 #endif // WebContentDecryptionModuleSession_h | 81 #endif // WebContentDecryptionModuleSession_h |
| OLD | NEW |