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

Side by Side Diff: net/spdy/spdy_protocol.cc

Issue 1402373005: Remove description from HTTP/2 RST_STREAM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_protocol.h ('k') | net/spdy/spdy_test_util_common.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "net/spdy/spdy_protocol.h" 5 #include "net/spdy/spdy_protocol.h"
6 6
7 namespace net { 7 namespace net {
8 8
9 SpdyFrameWithHeaderBlockIR::SpdyFrameWithHeaderBlockIR(SpdyStreamId stream_id) 9 SpdyFrameWithHeaderBlockIR::SpdyFrameWithHeaderBlockIR(SpdyStreamId stream_id)
10 : SpdyFrameWithFinIR(stream_id) {} 10 : SpdyFrameWithFinIR(stream_id) {}
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 769
770 void SpdySynStreamIR::Visit(SpdyFrameVisitor* visitor) const { 770 void SpdySynStreamIR::Visit(SpdyFrameVisitor* visitor) const {
771 return visitor->VisitSynStream(*this); 771 return visitor->VisitSynStream(*this);
772 } 772 }
773 773
774 void SpdySynReplyIR::Visit(SpdyFrameVisitor* visitor) const { 774 void SpdySynReplyIR::Visit(SpdyFrameVisitor* visitor) const {
775 return visitor->VisitSynReply(*this); 775 return visitor->VisitSynReply(*this);
776 } 776 }
777 777
778 SpdyRstStreamIR::SpdyRstStreamIR(SpdyStreamId stream_id, 778 SpdyRstStreamIR::SpdyRstStreamIR(SpdyStreamId stream_id,
779 SpdyRstStreamStatus status, 779 SpdyRstStreamStatus status)
780 base::StringPiece description) 780 : SpdyFrameWithStreamIdIR(stream_id) {
781 : SpdyFrameWithStreamIdIR(stream_id),
782 description_(description) {
783 set_status(status); 781 set_status(status);
784 } 782 }
785 783
786 SpdyRstStreamIR::~SpdyRstStreamIR() {} 784 SpdyRstStreamIR::~SpdyRstStreamIR() {}
787 785
788 void SpdyRstStreamIR::Visit(SpdyFrameVisitor* visitor) const { 786 void SpdyRstStreamIR::Visit(SpdyFrameVisitor* visitor) const {
789 return visitor->VisitRstStream(*this); 787 return visitor->VisitRstStream(*this);
790 } 788 }
791 789
792 SpdySettingsIR::SpdySettingsIR() 790 SpdySettingsIR::SpdySettingsIR()
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 848
851 void SpdyAltSvcIR::Visit(SpdyFrameVisitor* visitor) const { 849 void SpdyAltSvcIR::Visit(SpdyFrameVisitor* visitor) const {
852 return visitor->VisitAltSvc(*this); 850 return visitor->VisitAltSvc(*this);
853 } 851 }
854 852
855 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const { 853 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const {
856 return visitor->VisitPriority(*this); 854 return visitor->VisitPriority(*this);
857 } 855 }
858 856
859 } // namespace net 857 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_protocol.h ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698