Index: net/spdy/hpack_string_util.cc |
diff --git a/net/spdy/hpack_string_util.cc b/net/spdy/hpack_string_util.cc |
deleted file mode 100644 |
index dddb85513bc6403d6c061537a801476e772d81a5..0000000000000000000000000000000000000000 |
--- a/net/spdy/hpack_string_util.cc |
+++ /dev/null |
@@ -1,24 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "net/spdy/hpack_string_util.h" |
- |
-#include "base/basictypes.h" |
- |
-namespace net { |
- |
-bool StringPiecesEqualConstantTime(base::StringPiece str1, |
- base::StringPiece str2) { |
- size_t size = str1.size(); |
- if (str2.size() != size) |
- return false; |
- |
- uint8 x = 0; |
- for (size_t i = 0; i < size; ++i) { |
- x |= str1[i] ^ str2[i]; |
- } |
- return x == 0; |
-} |
- |
-} // namespace net |