blob: b6e03936fae1a1b7d578c1de7d92252f9447e472 [file] [log] [blame]
// Copyright (c) 2012 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 <string>
#include "net/spdy/spdy_protocol.h"
namespace net {
namespace test {
std::string HexDumpWithMarks(const unsigned char* data, int length,
const bool* marks, int mark_length);
void CompareCharArraysWithHexError(
const std::string& description,
const unsigned char* actual,
const int actual_len,
const unsigned char* expected,
const int expected_len);
void SetFrameFlags(SpdyFrame* frame, uint8 flags, int spdy_version);
void SetFrameLength(SpdyFrame* frame, size_t length, int spdy_version);
} // namespace test
} // namespace net