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/HeaderMap.h" | 6 #include "modules/serviceworkers/HeaderMap.h" |
7 | 7 |
8 #include "bindings/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
9 #include "modules/serviceworkers/HeaderMapForEachCallback.h" | 9 #include "modules/serviceworkers/HeaderMapForEachCallback.h" |
10 #include "wtf/PassRefPtr.h" | 10 #include "wtf/PassRefPtr.h" |
11 #include "wtf/RefPtr.h" | 11 #include "wtf/RefPtr.h" |
12 #include "wtf/text/WTFString.h" | 12 #include "wtf/text/WTFString.h" |
13 | 13 |
14 namespace WebCore { | 14 namespace WebCore { |
15 | 15 |
16 PassRefPtr<HeaderMap> HeaderMap::create() | 16 PassRefPtr<HeaderMap> HeaderMap::create() |
17 { | 17 { |
18 return adoptRef(new HeaderMap); | 18 return adoptRef(new HeaderMap); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 if (thisArg) | 84 if (thisArg) |
85 callback->handleItem(*thisArg, it->value, it->key, this); | 85 callback->handleItem(*thisArg, it->value, it->key, this); |
86 else | 86 else |
87 callback->handleItem(it->value, it->key, this); | 87 callback->handleItem(it->value, it->key, this); |
88 if (exceptionState.hadException()) | 88 if (exceptionState.hadException()) |
89 break; | 89 break; |
90 } | 90 } |
91 } | 91 } |
92 | 92 |
93 } // namespace WebCore | 93 } // namespace WebCore |
OLD | NEW |