Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: net/spdy/hpack_string_util.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #ifndef NET_SPDY_HPACK_STRING_UTIL_H_ 5 #ifndef NET_SPDY_HPACK_STRING_UTIL_H_
6 #define NET_SPDY_HPACK_STRING_UTIL_H_ 6 #define NET_SPDY_HPACK_STRING_UTIL_H_
7 7
8 #include "base/strings/string_piece.h" 8 #include "base/strings/string_piece.h"
9 #include "net/base/net_export.h" 9 #include "net/base/net_export.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 // All section references below are to 13 // All section references below are to
14 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-06 14 // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-06
15 15
16 // A constant-time StringPiece comparison function, as suggested 16 // A constant-time StringPiece comparison function, as suggested
17 // by section 6. 17 // by section 6.
18 bool NET_EXPORT_PRIVATE StringPiecesEqualConstantTime( 18 bool NET_EXPORT_PRIVATE StringPiecesEqualConstantTime(base::StringPiece str1,
19 base::StringPiece str1, 19 base::StringPiece str2);
20 base::StringPiece str2);
21 20
22 } // namespace net 21 } // namespace net
23 22
24 #endif // NET_SPDY_HPACK_STRING_UTIL_H_ 23 #endif // NET_SPDY_HPACK_STRING_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698