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

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

Issue 1171183002: Use struct AlternativeService in OnAltSvc() and OnSpdyAltSvc() methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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_protocol.h ('k') | no next file » | 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 SpdyFrameWithNameValueBlockIR::SpdyFrameWithNameValueBlockIR( 9 SpdyFrameWithNameValueBlockIR::SpdyFrameWithNameValueBlockIR(
10 SpdyStreamId stream_id) : SpdyFrameWithFinIR(stream_id) {} 10 SpdyStreamId stream_id) : SpdyFrameWithFinIR(stream_id) {}
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 835
836 void SpdyPushPromiseIR::Visit(SpdyFrameVisitor* visitor) const { 836 void SpdyPushPromiseIR::Visit(SpdyFrameVisitor* visitor) const {
837 return visitor->VisitPushPromise(*this); 837 return visitor->VisitPushPromise(*this);
838 } 838 }
839 839
840 void SpdyContinuationIR::Visit(SpdyFrameVisitor* visitor) const { 840 void SpdyContinuationIR::Visit(SpdyFrameVisitor* visitor) const {
841 return visitor->VisitContinuation(*this); 841 return visitor->VisitContinuation(*this);
842 } 842 }
843 843
844 SpdyAltSvcIR::SpdyAltSvcIR(SpdyStreamId stream_id) 844 SpdyAltSvcIR::SpdyAltSvcIR(SpdyStreamId stream_id)
845 : SpdyFrameWithStreamIdIR(stream_id), 845 : SpdyFrameWithStreamIdIR(stream_id) {
846 max_age_(0), 846 }
847 port_(0) {}
848 847
849 void SpdyAltSvcIR::Visit(SpdyFrameVisitor* visitor) const { 848 void SpdyAltSvcIR::Visit(SpdyFrameVisitor* visitor) const {
850 return visitor->VisitAltSvc(*this); 849 return visitor->VisitAltSvc(*this);
851 } 850 }
852 851
853 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const { 852 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const {
854 return visitor->VisitPriority(*this); 853 return visitor->VisitPriority(*this);
855 } 854 }
856 855
857 } // namespace net 856 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_protocol.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698