Fix issue with longpress drag selection motion
[chromium-blink-merge.git] / net / spdy / hpack / hpack_string_util.h
blob22ffb5658704d887fb6fe96b2af424829a2fa096
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
3 // found in the LICENSE file.
5 #ifndef NET_SPDY_HPACK_STRING_UTIL_H_
6 #define NET_SPDY_HPACK_STRING_UTIL_H_
8 #include "base/strings/string_piece.h"
9 #include "net/base/net_export.h"
11 namespace net {
13 // All section references below are to
14 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-08
16 // A constant-time StringPiece comparison function.
17 bool NET_EXPORT_PRIVATE StringPiecesEqualConstantTime(base::StringPiece str1,
18 base::StringPiece str2);
20 } // namespace net
22 #endif // NET_SPDY_HPACK_STRING_UTIL_H_