Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: net/http2/decoder/http2_structure_decoder_test_util.h

Issue 2554683003: Revert of Add new HTTP/2 and HPACK decoder in net/http2/. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http2/decoder/http2_structure_decoder_test_util.h
diff --git a/net/http2/decoder/http2_structure_decoder_test_util.h b/net/http2/decoder/http2_structure_decoder_test_util.h
deleted file mode 100644
index b45211f76f058d504dacda1d39244cf338e828d4..0000000000000000000000000000000000000000
--- a/net/http2/decoder/http2_structure_decoder_test_util.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// 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 NET_HTTP2_DECODER_HTTP2_STRUCTURE_DECODER_TEST_UTIL_H_
-#define NET_HTTP2_DECODER_HTTP2_STRUCTURE_DECODER_TEST_UTIL_H_
-
-#include "net/http2/decoder/http2_structure_decoder.h"
-
-#include <cstddef>
-
-#include "net/http2/tools/http2_random.h"
-
-namespace net {
-namespace test {
-
-class Http2StructureDecoderPeer {
- public:
- static void Randomize(Http2StructureDecoder* p, RandomBase* rng) {
- p->offset_ = rng->Rand32();
- for (size_t i = 0; i < sizeof p->buffer_; ++i) {
- p->buffer_[i] = rng->Rand8();
- }
- }
-};
-
-} // namespace test
-} // namespace net
-
-#endif // NET_HTTP2_DECODER_HTTP2_STRUCTURE_DECODER_TEST_UTIL_H_
« no previous file with comments | « net/http2/decoder/http2_structure_decoder_test.cc ('k') | net/http2/decoder/payload_decoders/altsvc_payload_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698