| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MIDIPortMap_h | 5 #ifndef MIDIPortMap_h |
| 6 #define MIDIPortMap_h | 6 #define MIDIPortMap_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
| 9 #include "bindings/core/v8/Maplike.h" | 9 #include "bindings/core/v8/Maplike.h" |
| 10 #include "bindings/core/v8/V8Binding.h" | 10 #include "bindings/core/v8/V8BindingForCore.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "platform/wtf/text/WTFString.h" | 12 #include "platform/wtf/text/WTFString.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 template <typename T> | 16 template <typename T> |
| 17 class MIDIPortMap : public GarbageCollected<MIDIPortMap<T>>, | 17 class MIDIPortMap : public GarbageCollected<MIDIPortMap<T>>, |
| 18 public Maplike<String, T*> { | 18 public Maplike<String, T*> { |
| 19 public: | 19 public: |
| 20 explicit MIDIPortMap(const HeapVector<Member<T>>& entries) | 20 explicit MIDIPortMap(const HeapVector<Member<T>>& entries) |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 IteratorType iterator_; | 85 IteratorType iterator_; |
| 86 const IteratorType end_; | 86 const IteratorType end_; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 const Entries entries_; | 89 const Entries entries_; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace blink | 92 } // namespace blink |
| 93 | 93 |
| 94 #endif | 94 #endif |
| OLD | NEW |