Chromium Code Reviews| Index: net/spdy/spdy_test_utils.h |
| diff --git a/net/spdy/spdy_test_utils.h b/net/spdy/spdy_test_utils.h |
| index ee3d6582fb86c0318abd2042098d180f0971bdc2..e052a3f0dc3e1fb05661c5e26217edcb5ef43ff4 100644 |
| --- a/net/spdy/spdy_test_utils.h |
| +++ b/net/spdy/spdy_test_utils.h |
| @@ -9,6 +9,7 @@ |
| #include <string> |
| +#include "net/spdy/spdy_header_block.h" |
| #include "net/spdy/spdy_protocol.h" |
| namespace net { |
| @@ -16,6 +17,11 @@ namespace net { |
| class HashValue; |
| class TransportSecurityState; |
| +inline bool operator==(StringPiece x, |
| + const SpdyHeaderBlock::StringPieceProxy& y) { |
| + return x == y.operator StringPiece(); |
| +} |
|
Ryan Hamilton
2015/09/24 17:54:06
I wonder if it might just be easier to have a meth
Bence
2015/09/24 21:14:51
I would like to ask you to reconsider. This opera
Ryan Hamilton
2015/09/24 22:25:55
*grumble* :> Ok, fair enough. In particular your p
|
| + |
| namespace test { |
| std::string HexDumpWithMarks(const unsigned char* data, int length, |