| 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 #include "modules/fetch/Headers.h" | 5 #include "modules/fetch/Headers.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/Dictionary.h" | 7 #include "bindings/core/v8/Dictionary.h" |
| 8 #include "bindings/core/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
| 9 #include "bindings/core/v8/V8IteratorResultValue.h" | 9 #include "bindings/core/v8/V8IteratorResultValue.h" |
| 10 #include "core/dom/Iterator.h" | 10 #include "core/dom/Iterator.h" |
| 11 #include "core/fetch/FetchUtils.h" | 11 #include "platform/loader/fetch/FetchUtils.h" |
| 12 #include "wtf/NotFound.h" | 12 #include "wtf/NotFound.h" |
| 13 #include "wtf/PassRefPtr.h" | 13 #include "wtf/PassRefPtr.h" |
| 14 #include "wtf/RefPtr.h" | 14 #include "wtf/RefPtr.h" |
| 15 #include "wtf/text/WTFString.h" | 15 #include "wtf/text/WTFString.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 class HeadersIterationSource final | 21 class HeadersIterationSource final |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 visitor->trace(m_headerList); | 321 visitor->trace(m_headerList); |
| 322 } | 322 } |
| 323 | 323 |
| 324 PairIterable<String, String>::IterationSource* Headers::startIteration( | 324 PairIterable<String, String>::IterationSource* Headers::startIteration( |
| 325 ScriptState*, | 325 ScriptState*, |
| 326 ExceptionState&) { | 326 ExceptionState&) { |
| 327 return new HeadersIterationSource(m_headerList); | 327 return new HeadersIterationSource(m_headerList); |
| 328 } | 328 } |
| 329 | 329 |
| 330 } // namespace blink | 330 } // namespace blink |
| OLD | NEW |