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

Side by Side Diff: net/spdy/spdy_no_op_visitor.h

Issue 2367973002: Log compressed size of HTTP/2 requests. (Closed)
Patch Set: Created 4 years, 2 months 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
« no previous file with comments | « net/spdy/spdy_headers_handler_interface.h ('k') | net/spdy/spdy_test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // SpdyNoOpVisitor implements several of the visitor and handler interfaces 5 // SpdyNoOpVisitor implements several of the visitor and handler interfaces
6 // to make it easier to write tests that need to provide instances. Other 6 // to make it easier to write tests that need to provide instances. Other
7 // interfaces can be added as needed. 7 // interfaces can be added as needed.
8 8
9 #ifndef NET_SPDY_SPDY_NO_OP_VISITOR_H_ 9 #ifndef NET_SPDY_SPDY_NO_OP_VISITOR_H_
10 #define NET_SPDY_SPDY_NO_OP_VISITOR_H_ 10 #define NET_SPDY_SPDY_NO_OP_VISITOR_H_
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 size_t payload_len, 80 size_t payload_len,
81 size_t frame_len) override {} 81 size_t frame_len) override {}
82 void OnReceiveCompressedFrame(SpdyStreamId stream_id, 82 void OnReceiveCompressedFrame(SpdyStreamId stream_id,
83 SpdyFrameType type, 83 SpdyFrameType type,
84 size_t frame_len) override {} 84 size_t frame_len) override {}
85 85
86 // SpdyHeadersHandlerInterface methods: 86 // SpdyHeadersHandlerInterface methods:
87 void OnHeaderBlockStart() override {} 87 void OnHeaderBlockStart() override {}
88 void OnHeader(base::StringPiece key, base::StringPiece value) override {} 88 void OnHeader(base::StringPiece key, base::StringPiece value) override {}
89 void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override {} 89 void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override {}
90 void OnHeaderBlockEnd(size_t /* uncompressed_header_bytes */,
91 size_t /* compressed_header_bytes */) override {}
90 }; 92 };
91 93
92 } // namespace test 94 } // namespace test
93 } // namespace net 95 } // namespace net
94 96
95 #endif // NET_SPDY_SPDY_NO_OP_VISITOR_H_ 97 #endif // NET_SPDY_SPDY_NO_OP_VISITOR_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_headers_handler_interface.h ('k') | net/spdy/spdy_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698