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 "config.h" | 5 #include "config.h" |
6 #include "modules/serviceworkers/Headers.h" | 6 #include "modules/serviceworkers/Headers.h" |
7 | 7 |
8 #include "bindings/core/v8/Dictionary.h" | 8 #include "bindings/core/v8/Dictionary.h" |
9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
10 #include "core/dom/Iterator.h" | 10 #include "core/dom/Iterator.h" |
11 #include "core/fetch/FetchUtils.h" | 11 #include "core/fetch/FetchUtils.h" |
12 #include "core/xml/XMLHttpRequest.h" | |
13 #include "wtf/NotFound.h" | 12 #include "wtf/NotFound.h" |
14 #include "wtf/PassRefPtr.h" | 13 #include "wtf/PassRefPtr.h" |
15 #include "wtf/RefPtr.h" | 14 #include "wtf/RefPtr.h" |
16 #include "wtf/text/WTFString.h" | 15 #include "wtf/text/WTFString.h" |
17 | 16 |
18 namespace blink { | 17 namespace blink { |
19 | 18 |
20 namespace { | 19 namespace { |
21 | 20 |
22 class HeadersIterator final : public Iterator { | 21 class HeadersIterator final : public Iterator { |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 { | 345 { |
347 return new HeadersIterator(m_headerList, HeadersIterator::KeyValue); | 346 return new HeadersIterator(m_headerList, HeadersIterator::KeyValue); |
348 } | 347 } |
349 | 348 |
350 void Headers::trace(Visitor* visitor) | 349 void Headers::trace(Visitor* visitor) |
351 { | 350 { |
352 visitor->trace(m_headerList); | 351 visitor->trace(m_headerList); |
353 } | 352 } |
354 | 353 |
355 } // namespace blink | 354 } // namespace blink |
OLD | NEW |