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

Unified Diff: public/platform/WebContentDecryptionModuleSession.h

Issue 950813005: Change initDataType and sessionType to be enums (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: android compile issues Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.cpp ('k') | public/platform/WebEncryptedMediaTypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebContentDecryptionModuleSession.h
diff --git a/public/platform/WebContentDecryptionModuleSession.h b/public/platform/WebContentDecryptionModuleSession.h
index 7b98366d49134b55882f743f13c26355cc587fc8..8fa3c959f970bb0abdd59b6359d39d1b04c05e40 100644
--- a/public/platform/WebContentDecryptionModuleSession.h
+++ b/public/platform/WebContentDecryptionModuleSession.h
@@ -35,6 +35,7 @@
#include "WebVector.h"
#include "public/platform/WebContentDecryptionModuleException.h"
#include "public/platform/WebContentDecryptionModuleResult.h"
+#include "public/platform/WebEncryptedMediaTypes.h"
namespace blink {
@@ -76,6 +77,8 @@ public:
virtual void setClientInterface(Client*) = 0;
virtual WebString sessionId() const = 0;
+ virtual void initializeNewSession(WebEncryptedMediaInitDataType, const unsigned char* initData, size_t initDataLength, WebEncryptedMediaSessionType, WebContentDecryptionModuleResult);
+ // FIXME: remove this version once Chromium updated to pass enums.
virtual void initializeNewSession(const WebString& initDataType, const unsigned char* initData, size_t initDataLength, const WebString& sessionType, WebContentDecryptionModuleResult) = 0;
virtual void load(const WebString& sessionId, WebContentDecryptionModuleResult) = 0;
virtual void update(const unsigned char* response, size_t responseLength, WebContentDecryptionModuleResult) = 0;
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.cpp ('k') | public/platform/WebEncryptedMediaTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698