1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef QUICHE_HTTP2_TEST_TOOLS_HTTP2_STRUCTURE_DECODER_TEST_UTIL_H_
6 #define QUICHE_HTTP2_TEST_TOOLS_HTTP2_STRUCTURE_DECODER_TEST_UTIL_H_
7 
8 #include "quiche/http2/decoder/http2_structure_decoder.h"
9 #include "quiche/http2/test_tools/http2_random.h"
10 #include "quiche/common/platform/api/quiche_export.h"
11 
12 namespace http2 {
13 namespace test {
14 
15 class QUICHE_NO_EXPORT Http2StructureDecoderPeer {
16  public:
17   // Overwrite the Http2StructureDecoder instance with random values.
18   static void Randomize(Http2StructureDecoder* p, Http2Random* rng);
19 };
20 
21 }  // namespace test
22 }  // namespace http2
23 
24 #endif  // QUICHE_HTTP2_TEST_TOOLS_HTTP2_STRUCTURE_DECODER_TEST_UTIL_H_
25