| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * Copyright (C) 2011 Apple Inc. All Rights Reserved. | 4 * Copyright (C) 2011 Apple Inc. All Rights Reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef HTTPParsers_h | 31 #ifndef HTTPParsers_h |
| 32 #define HTTPParsers_h | 32 #define HTTPParsers_h |
| 33 | 33 |
| 34 #include "platform/PlatformExport.h" | 34 #include "platform/PlatformExport.h" |
| 35 #include "platform/json/JSONValues.h" | 35 #include "platform/json/JSONValues.h" |
| 36 #include "wtf/Allocator.h" | 36 #include "platform/wtf/Allocator.h" |
| 37 #include "wtf/Forward.h" | 37 #include "platform/wtf/Forward.h" |
| 38 #include "wtf/HashSet.h" | 38 #include "platform/wtf/HashSet.h" |
| 39 #include "wtf/Vector.h" | 39 #include "platform/wtf/Vector.h" |
| 40 #include "wtf/text/StringHash.h" | 40 #include "platform/wtf/text/StringHash.h" |
| 41 | 41 |
| 42 #include <stdint.h> | 42 #include <stdint.h> |
| 43 #include <memory> | 43 #include <memory> |
| 44 | 44 |
| 45 namespace blink { | 45 namespace blink { |
| 46 | 46 |
| 47 class Suborigin; | 47 class Suborigin; |
| 48 class ResourceResponse; | 48 class ResourceResponse; |
| 49 | 49 |
| 50 typedef enum { | 50 typedef enum { |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 // |*instance_length| = size in bytes of the object requested | 165 // |*instance_length| = size in bytes of the object requested |
| 166 // If this method returns false, then all of the outputs will be -1. | 166 // If this method returns false, then all of the outputs will be -1. |
| 167 PLATFORM_EXPORT bool parseContentRangeHeaderFor206(const String& contentRange, | 167 PLATFORM_EXPORT bool parseContentRangeHeaderFor206(const String& contentRange, |
| 168 int64_t* firstBytePosition, | 168 int64_t* firstBytePosition, |
| 169 int64_t* lastBytePosition, | 169 int64_t* lastBytePosition, |
| 170 int64_t* instanceLength); | 170 int64_t* instanceLength); |
| 171 | 171 |
| 172 } // namespace blink | 172 } // namespace blink |
| 173 | 173 |
| 174 #endif | 174 #endif |
| OLD | NEW |