| 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 "platform/wtf/Forward.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class Dictionary; | 17 class Dictionary; |
| 18 class ExceptionState; | 18 class ExceptionState; |
| 19 | 19 |
| 20 // http://fetch.spec.whatwg.org/#headers-class | 20 // http://fetch.spec.whatwg.org/#headers-class |
| 21 class MODULES_EXPORT Headers final : public GarbageCollected<Headers>, | 21 class MODULES_EXPORT Headers final : public GarbageCollected<Headers>, |
| 22 public ScriptWrappable, | 22 public ScriptWrappable, |
| 23 public PairIterable<String, String> { | 23 public PairIterable<String, String> { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 Member<FetchHeaderList> header_list_; | 70 Member<FetchHeaderList> header_list_; |
| 71 Guard guard_; | 71 Guard guard_; |
| 72 | 72 |
| 73 IterationSource* StartIteration(ScriptState*, ExceptionState&) override; | 73 IterationSource* StartIteration(ScriptState*, ExceptionState&) override; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace blink | 76 } // namespace blink |
| 77 | 77 |
| 78 #endif // Headers_h | 78 #endif // Headers_h |
| OLD | NEW |