| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MediaKeyStatusMap_h | 5 #ifndef MediaKeyStatusMap_h |
| 6 #define MediaKeyStatusMap_h | 6 #define MediaKeyStatusMap_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/Maplike.h" |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "bindings/core/v8/UnionTypesCore.h" | 10 #include "bindings/core/v8/UnionTypesCore.h" |
| 10 #include "core/dom/DOMArrayPiece.h" | 11 #include "core/dom/DOMArrayPiece.h" |
| 11 #include "core/dom/Maplike.h" | |
| 12 #include "platform/heap/Heap.h" | 12 #include "platform/heap/Heap.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class ExceptionState; | 16 class ExceptionState; |
| 17 class Iterator; | 17 class Iterator; |
| 18 class ScriptState; | 18 class ScriptState; |
| 19 class WebData; | 19 class WebData; |
| 20 | 20 |
| 21 // Represents a read-only map (to JavaScript) of key IDs and their current | 21 // Represents a read-only map (to JavaScript) of key IDs and their current |
| (...skipping 28 matching lines...) Expand all Loading... |
| 50 bool getMapEntry(ScriptState*, const ArrayBufferOrArrayBufferView&, String&,
ExceptionState&) override; | 50 bool getMapEntry(ScriptState*, const ArrayBufferOrArrayBufferView&, String&,
ExceptionState&) override; |
| 51 | 51 |
| 52 size_t indexOf(const DOMArrayPiece& key) const; | 52 size_t indexOf(const DOMArrayPiece& key) const; |
| 53 | 53 |
| 54 MapType m_entries; | 54 MapType m_entries; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace blink | 57 } // namespace blink |
| 58 | 58 |
| 59 #endif // MediaKeyStatusMap_h | 59 #endif // MediaKeyStatusMap_h |
| OLD | NEW |