| 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" | |
| 6 #include "modules/fetch/FetchHeaderList.h" | 5 #include "modules/fetch/FetchHeaderList.h" |
| 7 | 6 |
| 8 #include "core/fetch/FetchUtils.h" | 7 #include "core/fetch/FetchUtils.h" |
| 9 #include "platform/network/HTTPParsers.h" | 8 #include "platform/network/HTTPParsers.h" |
| 10 #include "wtf/PassOwnPtr.h" | 9 #include "wtf/PassOwnPtr.h" |
| 11 | 10 |
| 12 namespace blink { | 11 namespace blink { |
| 13 | 12 |
| 14 FetchHeaderList* FetchHeaderList::create() | 13 FetchHeaderList* FetchHeaderList::create() |
| 15 { | 14 { |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 } | 149 } |
| 151 | 150 |
| 152 bool FetchHeaderList::isValidHeaderValue(const String& value) | 151 bool FetchHeaderList::isValidHeaderValue(const String& value) |
| 153 { | 152 { |
| 154 // "A value is a byte sequence that matches the field-value token production | 153 // "A value is a byte sequence that matches the field-value token production |
| 155 // and contains no 0x0A or 0x0D bytes." | 154 // and contains no 0x0A or 0x0D bytes." |
| 156 return isValidHTTPHeaderValue(value); | 155 return isValidHTTPHeaderValue(value); |
| 157 } | 156 } |
| 158 | 157 |
| 159 } // namespace blink | 158 } // namespace blink |
| OLD | NEW |