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/fetch/CrossOriginAccessControl.h" | 10 #include "core/fetch/CrossOriginAccessControl.h" |
11 #include "core/xml/XMLHttpRequest.h" | 11 #include "core/xml/XMLHttpRequest.h" |
12 #include "modules/serviceworkers/HeadersForEachCallback.h" | 12 #include "modules/serviceworkers/HeadersForEachCallback.h" |
13 #include "wtf/NotFound.h" | 13 #include "wtf/NotFound.h" |
14 #include "wtf/PassRefPtr.h" | 14 #include "wtf/PassRefPtr.h" |
15 #include "wtf/RefPtr.h" | 15 #include "wtf/RefPtr.h" |
16 #include "wtf/text/WTFString.h" | 16 #include "wtf/text/WTFString.h" |
17 | 17 |
18 namespace WebCore { | 18 namespace blink { |
19 | 19 |
20 PassRefPtrWillBeRawPtr<Headers> Headers::create() | 20 PassRefPtrWillBeRawPtr<Headers> Headers::create() |
21 { | 21 { |
22 return adoptRefWillBeNoop(new Headers); | 22 return adoptRefWillBeNoop(new Headers); |
23 } | 23 } |
24 | 24 |
25 PassRefPtrWillBeRawPtr<Headers> Headers::create(ExceptionState&) | 25 PassRefPtrWillBeRawPtr<Headers> Headers::create(ExceptionState&) |
26 { | 26 { |
27 return create(); | 27 return create(); |
28 } | 28 } |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 if (exceptionState.hadException()) | 320 if (exceptionState.hadException()) |
321 break; | 321 break; |
322 } | 322 } |
323 } | 323 } |
324 | 324 |
325 void Headers::trace(Visitor* visitor) | 325 void Headers::trace(Visitor* visitor) |
326 { | 326 { |
327 visitor->trace(m_headerList); | 327 visitor->trace(m_headerList); |
328 } | 328 } |
329 | 329 |
330 } // namespace WebCore | 330 } // namespace blink |
OLD | NEW |