OLD | NEW |
(Empty) | |
| 1 #ifndef NET_SPDY_HPACK_STRING_UTIL_H_ |
| 2 #define NET_SPDY_HPACK_STRING_UTIL_H_ |
| 3 |
| 4 #include "base/strings/string_piece.h" |
| 5 |
| 6 namespace net { |
| 7 |
| 8 // All section references below are to |
| 9 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-04 |
| 10 // . |
| 11 |
| 12 // A constant-time StringPiece comparison function, as suggested |
| 13 // by section 6. |
| 14 bool StringPiecesEqualConstantTime(base::StringPiece str1, |
| 15 base::StringPiece str2); |
| 16 |
| 17 } // namespace net |
| 18 |
| 19 #endif // NET_SPDY_HPACK_STRING_UTIL_H_ |
OLD | NEW |