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

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

Issue 2675593002: Spdy{RstStream,GoAway}Status -> SpdyErrorCode. (Closed)
Patch Set: Merged master, which includes 145087791. Created 3 years, 10 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_network_transaction_unittest.cc ('k') | net/spdy/spdy_protocol.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 19 matching lines...) Expand all
30 SpdyStreamId stream_id) override; 30 SpdyStreamId stream_id) override;
31 void OnHeaderFrameEnd(SpdyStreamId stream_id, bool end_headers) override {} 31 void OnHeaderFrameEnd(SpdyStreamId stream_id, bool end_headers) override {}
32 void OnDataFrameHeader(SpdyStreamId stream_id, 32 void OnDataFrameHeader(SpdyStreamId stream_id,
33 size_t length, 33 size_t length,
34 bool fin) override {} 34 bool fin) override {}
35 void OnStreamFrameData(SpdyStreamId stream_id, 35 void OnStreamFrameData(SpdyStreamId stream_id,
36 const char* data, 36 const char* data,
37 size_t len) override {} 37 size_t len) override {}
38 void OnStreamEnd(SpdyStreamId stream_id) override {} 38 void OnStreamEnd(SpdyStreamId stream_id) override {}
39 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {} 39 void OnStreamPadding(SpdyStreamId stream_id, size_t len) override {}
40 void OnRstStream(SpdyStreamId stream_id, 40 void OnRstStream(SpdyStreamId stream_id, SpdyErrorCode error_code) override {}
41 SpdyRstStreamStatus status) override {}
42 void OnSetting(SpdySettingsIds id, uint32_t value) override {} 41 void OnSetting(SpdySettingsIds id, uint32_t value) override {}
43 void OnPing(SpdyPingId unique_id, bool is_ack) override {} 42 void OnPing(SpdyPingId unique_id, bool is_ack) override {}
44 void OnSettingsEnd() override {} 43 void OnSettingsEnd() override {}
45 void OnSettingsAck() override {} 44 void OnSettingsAck() override {}
46 void OnGoAway(SpdyStreamId last_accepted_stream_id, 45 void OnGoAway(SpdyStreamId last_accepted_stream_id,
47 SpdyGoAwayStatus status) override {} 46 SpdyErrorCode error_code) override {}
48 void OnHeaders(SpdyStreamId stream_id, 47 void OnHeaders(SpdyStreamId stream_id,
49 bool has_priority, 48 bool has_priority,
50 int weight, 49 int weight,
51 SpdyStreamId parent_stream_id, 50 SpdyStreamId parent_stream_id,
52 bool exclusive, 51 bool exclusive,
53 bool fin, 52 bool fin,
54 bool end) override {} 53 bool end) override {}
55 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {} 54 void OnWindowUpdate(SpdyStreamId stream_id, int delta_window_size) override {}
56 void OnPushPromise(SpdyStreamId stream_id, 55 void OnPushPromise(SpdyStreamId stream_id,
57 SpdyStreamId promised_stream_id, 56 SpdyStreamId promised_stream_id,
(...skipping 23 matching lines...) Expand all
81 void OnHeader(base::StringPiece key, base::StringPiece value) override {} 80 void OnHeader(base::StringPiece key, base::StringPiece value) override {}
82 void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override {} 81 void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override {}
83 void OnHeaderBlockEnd(size_t /* uncompressed_header_bytes */, 82 void OnHeaderBlockEnd(size_t /* uncompressed_header_bytes */,
84 size_t /* compressed_header_bytes */) override {} 83 size_t /* compressed_header_bytes */) override {}
85 }; 84 };
86 85
87 } // namespace test 86 } // namespace test
88 } // namespace net 87 } // namespace net
89 88
90 #endif // NET_SPDY_SPDY_NO_OP_VISITOR_H_ 89 #endif // NET_SPDY_SPDY_NO_OP_VISITOR_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | net/spdy/spdy_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698