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

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

Issue 2438163002: Remove SpdyFramerVisitorInterface::OnControlFrameHeaderData(). (Closed)
Patch Set: rebase Created 4 years, 1 month 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_framer_test.cc ('k') | net/spdy/spdy_no_op_visitor.cc » ('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 15 matching lines...) Expand all
26 void OnError(SpdyFramer* framer) override {} 26 void OnError(SpdyFramer* framer) override {}
27 void OnSynStream(SpdyStreamId stream_id, 27 void OnSynStream(SpdyStreamId stream_id,
28 SpdyStreamId associated_stream_id, 28 SpdyStreamId associated_stream_id,
29 SpdyPriority priority, 29 SpdyPriority priority,
30 bool fin, 30 bool fin,
31 bool unidirectional) override {} 31 bool unidirectional) override {}
32 void OnSynReply(SpdyStreamId stream_id, bool fin) override {} 32 void OnSynReply(SpdyStreamId stream_id, bool fin) override {}
33 net::SpdyHeadersHandlerInterface* OnHeaderFrameStart( 33 net::SpdyHeadersHandlerInterface* OnHeaderFrameStart(
34 SpdyStreamId stream_id) override; 34 SpdyStreamId stream_id) override;
35 void OnHeaderFrameEnd(SpdyStreamId stream_id, bool end_headers) override {} 35 void OnHeaderFrameEnd(SpdyStreamId stream_id, bool end_headers) override {}
36 bool OnControlFrameHeaderData(SpdyStreamId stream_id,
37 const char* header_data,
38 size_t header_data_len) override;
39 void OnDataFrameHeader(SpdyStreamId stream_id, 36 void OnDataFrameHeader(SpdyStreamId stream_id,
40 size_t length, 37 size_t length,
41 bool fin) override {} 38 bool fin) override {}
42 void OnStreamFrameData(SpdyStreamId stream_id, 39 void OnStreamFrameData(SpdyStreamId stream_id,
43 const char* data, 40 const char* data,
44 size_t len) override {} 41 size_t len) override {}
45 void OnStreamEnd(SpdyStreamId stream_id) override {} 42 void OnStreamEnd(SpdyStreamId stream_id) override {}
46 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {} 43 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {}
47 void OnRstStream(SpdyStreamId stream_id, 44 void OnRstStream(SpdyStreamId stream_id,
48 SpdyRstStreamStatus status) override {} 45 SpdyRstStreamStatus status) override {}
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void OnHeader(base::StringPiece key, base::StringPiece value) override {} 85 void OnHeader(base::StringPiece key, base::StringPiece value) override {}
89 void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override {} 86 void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override {}
90 void OnHeaderBlockEnd(size_t /* uncompressed_header_bytes */, 87 void OnHeaderBlockEnd(size_t /* uncompressed_header_bytes */,
91 size_t /* compressed_header_bytes */) override {} 88 size_t /* compressed_header_bytes */) override {}
92 }; 89 };
93 90
94 } // namespace test 91 } // namespace test
95 } // namespace net 92 } // namespace net
96 93
97 #endif // NET_SPDY_SPDY_NO_OP_VISITOR_H_ 94 #endif // NET_SPDY_SPDY_NO_OP_VISITOR_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_framer_test.cc ('k') | net/spdy/spdy_no_op_visitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698