#include "third_party/blink/renderer/modules/encryptedmedia/media_key_status_map.h"
#include <algorithm>
#include <limits>
#include "third_party/blink/public/platform/web_data.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_arraybuffer_arraybufferview.h"
#include "third_party/blink/renderer/core/typed_arrays/dom_array_buffer.h"
#include "third_party/blink/renderer/core/typed_arrays/dom_array_piece.h"
#include "third_party/blink/renderer/platform/wtf/shared_buffer.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
class MediaKeyStatusMap::MapEntry final
: public GarbageCollected<MediaKeyStatusMap::MapEntry> { … };
class MapIterationSource final
: public PairSyncIterable<MediaKeyStatusMap>::IterationSource { … };
void MediaKeyStatusMap::Clear() { … }
void MediaKeyStatusMap::AddEntry(WebData key_id, const String& status) { … }
const MediaKeyStatusMap::MapEntry& MediaKeyStatusMap::at(uint32_t index) const { … }
uint32_t MediaKeyStatusMap::IndexOf(const DOMArrayPiece& key) const { … }
bool MediaKeyStatusMap::has(
const V8BufferSource* key_id
) { … }
ScriptValue MediaKeyStatusMap::get(ScriptState* script_state,
const V8BufferSource* key_id
) { … }
MediaKeyStatusMap::IterationSource* MediaKeyStatusMap::CreateIterationSource(
ScriptState*,
ExceptionState&) { … }
void MediaKeyStatusMap::Trace(Visitor* visitor) const { … }
}