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/v8/Dictionary.h" | 8 #include "bindings/core/v8/Dictionary.h" |
9 #include "bindings/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 WebCore { |
19 | 19 |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 if (thisArg) | 312 if (thisArg) |
313 callback->handleItem(*thisArg, m_headerList->list()[i]->second, m_he
aderList->list()[i]->first, this); | 313 callback->handleItem(*thisArg, m_headerList->list()[i]->second, m_he
aderList->list()[i]->first, this); |
314 else | 314 else |
315 callback->handleItem(m_headerList->list()[i]->second, m_headerList->
list()[i]->first, this); | 315 callback->handleItem(m_headerList->list()[i]->second, m_headerList->
list()[i]->first, this); |
316 if (exceptionState.hadException()) | 316 if (exceptionState.hadException()) |
317 break; | 317 break; |
318 } | 318 } |
319 } | 319 } |
320 | 320 |
321 } // namespace WebCore | 321 } // namespace WebCore |
OLD | NEW |