VulpesOS/gaia/shared/test/unit/mocks/mock_omadrm_fl.js
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

28 lines
532 B
JavaScript
Executable file

/* global define */
define(function() {
'use strict';
var ctor = {
mUnlocked: false,
unlockBlob: function(secret, blob, callback) {
callback(this.mUnlocked);
},
mSetupUnlocked: function(value) {
this.mUnlocked = value;
},
get mimeSubtype() {
return this.mockMimeSubtype;
},
mSetupMimeSubtype: function(value) {
this.mockMimeSubtype = value;
},
getKey: function(callback) {
callback();
},
getOrCreateKey: function() {
}
};
return ctor;
});