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 Headers_h | 5 #ifndef Headers_h |
6 #define Headers_h | 6 #define Headers_h |
7 | 7 |
8 #include "bindings/core/v8/Iterable.h" | 8 #include "bindings/core/v8/Iterable.h" |
9 #include "bindings/core/v8/ScriptState.h" | 9 #include "bindings/core/v8/ScriptState.h" |
10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
11 #include "modules/ModulesExport.h" | 11 #include "modules/ModulesExport.h" |
12 #include "modules/fetch/FetchHeaderList.h" | 12 #include "modules/fetch/FetchHeaderList.h" |
13 #include "wtf/Forward.h" | 13 #include "wtf/Forward.h" |
| 14 #include "wtf/PassOwnPtr.h" |
14 | 15 |
15 namespace blink { | 16 namespace blink { |
16 | 17 |
17 class Dictionary; | 18 class Dictionary; |
18 class ExceptionState; | 19 class ExceptionState; |
19 class Iterator; | 20 class Iterator; |
20 | 21 |
21 // http://fetch.spec.whatwg.org/#headers-class | 22 // http://fetch.spec.whatwg.org/#headers-class |
22 class MODULES_EXPORT Headers final : public GarbageCollected<Headers>, public Sc
riptWrappable, public PairIterable<String, String> { | 23 class MODULES_EXPORT Headers final : public GarbageCollected<Headers>, public Sc
riptWrappable, public PairIterable<String, String> { |
23 DEFINE_WRAPPERTYPEINFO(); | 24 DEFINE_WRAPPERTYPEINFO(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 62 |
62 Member<FetchHeaderList> m_headerList; | 63 Member<FetchHeaderList> m_headerList; |
63 Guard m_guard; | 64 Guard m_guard; |
64 | 65 |
65 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 66 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
66 }; | 67 }; |
67 | 68 |
68 } // namespace blink | 69 } // namespace blink |
69 | 70 |
70 #endif // Headers_h | 71 #endif // Headers_h |
OLD | NEW |