summaryrefslogtreecommitdiff
path: root/chromium/net/third_party/quiche/src/http2/decoder/http2_structure_decoder_test_util.h
blob: 54031358d8326d50e4e602be2e350f15c0f2b800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2016 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.

#ifndef QUICHE_HTTP2_DECODER_HTTP2_STRUCTURE_DECODER_TEST_UTIL_H_
#define QUICHE_HTTP2_DECODER_HTTP2_STRUCTURE_DECODER_TEST_UTIL_H_

#include "http2/decoder/http2_structure_decoder.h"

#include "http2/test_tools/http2_random.h"

namespace http2 {
namespace test {

class Http2StructureDecoderPeer {
 public:
  // Overwrite the Http2StructureDecoder instance with random values.
  static void Randomize(Http2StructureDecoder* p, Http2Random* rng);
};

}  // namespace test
}  // namespace http2

#endif  // QUICHE_HTTP2_DECODER_HTTP2_STRUCTURE_DECODER_TEST_UTIL_H_