OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 // This file contains data structures and utility functions used for serializing | 5 // This file contains data structures and utility functions used for serializing |
6 // and parsing alternative service header values, common to HTTP/1.1 header | 6 // and parsing alternative service header values, common to HTTP/1.1 header |
7 // fields and HTTP/2 and QUIC ALTSVC frames. See specification at | 7 // fields and HTTP/2 and QUIC ALTSVC frames. See specification at |
8 // https://httpwg.github.io/http-extensions/alt-svc.html. | 8 // https://httpwg.github.io/http-extensions/alt-svc.html. |
9 | 9 |
10 #ifndef NET_SPDY_SPDY_ALT_SVC_WIRE_FORMAT_H_ | 10 #ifndef NET_SPDY_SPDY_ALT_SVC_WIRE_FORMAT_H_ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 SpdyStringPiece::const_iterator end, | 78 SpdyStringPiece::const_iterator end, |
79 uint16_t* value); | 79 uint16_t* value); |
80 static bool ParsePositiveInteger32(SpdyStringPiece::const_iterator c, | 80 static bool ParsePositiveInteger32(SpdyStringPiece::const_iterator c, |
81 SpdyStringPiece::const_iterator end, | 81 SpdyStringPiece::const_iterator end, |
82 uint32_t* value); | 82 uint32_t* value); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace net | 85 } // namespace net |
86 | 86 |
87 #endif // NET_SPDY_SPDY_ALT_SVC_WIRE_FORMAT_H_ | 87 #endif // NET_SPDY_SPDY_ALT_SVC_WIRE_FORMAT_H_ |
OLD | NEW |