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

Side by Side Diff: net/http2/hpack/decoder/hpack_string_decoder_listener.cc

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 unified diff | Download patch
OLDNEW
(Empty)
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 #include "net/http2/hpack/decoder/hpack_string_decoder_listener.h"
6
7 #include "base/logging.h"
8
9 namespace net {
10 namespace test {
11
12 void HpackStringDecoderVLoggingListener::OnStringStart(bool huffman_encoded,
13 size_t len) {
14 VLOG(1) << "OnStringStart: H=" << huffman_encoded << ", len=" << len;
15 if (wrapped_) {
16 wrapped_->OnStringStart(huffman_encoded, len);
17 }
18 }
19
20 void HpackStringDecoderVLoggingListener::OnStringData(const char* data,
21 size_t len) {
22 VLOG(1) << "OnStringData: len=" << len;
23 if (wrapped_) {
24 return wrapped_->OnStringData(data, len);
25 }
26 }
27
28 void HpackStringDecoderVLoggingListener::OnStringEnd() {
29 VLOG(1) << "OnStringEnd";
30 if (wrapped_) {
31 return wrapped_->OnStringEnd();
32 }
33 }
34
35 } // namespace test
36 } // namespace net
OLDNEW
« no previous file with comments | « net/http2/hpack/decoder/hpack_string_decoder_listener.h ('k') | net/http2/hpack/decoder/hpack_string_decoder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698