summaryrefslogtreecommitdiffstats
path: root/dom/media/eme/MediaKeySession.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /dom/media/eme/MediaKeySession.h
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/media/eme/MediaKeySession.h')
-rw-r--r--dom/media/eme/MediaKeySession.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/dom/media/eme/MediaKeySession.h b/dom/media/eme/MediaKeySession.h
index e19488c311..7204f99eef 100644
--- a/dom/media/eme/MediaKeySession.h
+++ b/dom/media/eme/MediaKeySession.h
@@ -36,8 +36,6 @@ class ArrayBufferViewOrArrayBuffer;
class MediaKeyError;
class MediaKeyStatusMap;
-nsCString ToCString(MediaKeySessionType aType);
-
nsString ToString(MediaKeySessionType aType);
class MediaKeySession final : public DOMEventTargetHelper,
@@ -49,7 +47,7 @@ class MediaKeySession final : public DOMEventTargetHelper,
public:
MediaKeySession(nsPIDOMWindowInner* aParent, MediaKeys* aKeys,
const nsAString& aKeySystem, MediaKeySessionType aSessionType,
- ErrorResult& aRv);
+ bool aHardwareDecryption, ErrorResult& aRv);
void SetSessionId(const nsAString& aSessionId);
@@ -134,6 +132,9 @@ class MediaKeySession final : public DOMEventTargetHelper,
bool mUninitialized;
RefPtr<MediaKeyStatusMap> mKeyStatusMap;
double mExpiration;
+
+ // True if this key session is related with hardware decryption.
+ bool mHardwareDecryption;
};
} // namespace dom