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

Unified Diff: Source/modules/encryptedmedia/MediaKeySession.h

Issue 686893004: Remove obsolete ready and error events from MediaKeySession. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/encryptedmedia/MediaKeySession.h
diff --git a/Source/modules/encryptedmedia/MediaKeySession.h b/Source/modules/encryptedmedia/MediaKeySession.h
index 2eccbcc436789be64cfb243ba89d870424a7d18e..e7dbcd18c8c520384b21d8b770c9ad8be0f9820b 100644
--- a/Source/modules/encryptedmedia/MediaKeySession.h
+++ b/Source/modules/encryptedmedia/MediaKeySession.h
@@ -67,7 +67,6 @@ public:
static bool isValidSessionType(const String& sessionType);
virtual ~MediaKeySession();
- const String& keySystem() const { return m_keySystem; }
String sessionId() const;
double expiration() const { return m_expiration; }
ScriptPromise closed(ScriptState*);
@@ -76,9 +75,6 @@ public:
ScriptPromise generateRequest(ScriptState*, const String& initDataType, DOMArrayBufferView* initData);
ScriptPromise load(ScriptState*, const String& sessionId);
- void setError(MediaKeyError*);
- MediaKeyError* error() { return m_error.get(); }
-
ScriptPromise update(ScriptState*, DOMArrayBuffer* response);
ScriptPromise update(ScriptState*, DOMArrayBufferView* response);
ScriptPromise close(ScriptState*);
@@ -123,7 +119,6 @@ private:
void finishLoad();
String m_keySystem;
- RefPtrWillBeMember<MediaKeyError> m_error;
OwnPtrWillBeMember<GenericEventQueue> m_asyncEventQueue;
OwnPtr<WebContentDecryptionModuleSession> m_session;

Powered by Google App Engine
This is Rietveld 408576698