| OLD | NEW |
| 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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 | 845 |
| 846 SpdyAltSvcIR::SpdyAltSvcIR(SpdyStreamId stream_id) | 846 SpdyAltSvcIR::SpdyAltSvcIR(SpdyStreamId stream_id) |
| 847 : SpdyFrameWithStreamIdIR(stream_id), | 847 : SpdyFrameWithStreamIdIR(stream_id), |
| 848 max_age_(0), | 848 max_age_(0), |
| 849 port_(0) {} | 849 port_(0) {} |
| 850 | 850 |
| 851 void SpdyAltSvcIR::Visit(SpdyFrameVisitor* visitor) const { | 851 void SpdyAltSvcIR::Visit(SpdyFrameVisitor* visitor) const { |
| 852 return visitor->VisitAltSvc(*this); | 852 return visitor->VisitAltSvc(*this); |
| 853 } | 853 } |
| 854 | 854 |
| 855 SpdyPriorityIR::SpdyPriorityIR(SpdyStreamId stream_id) |
| 856 : SpdyFrameWithStreamIdIR(stream_id) { |
| 857 } |
| 858 |
| 859 SpdyPriorityIR::SpdyPriorityIR(SpdyStreamId stream_id, |
| 860 SpdyStreamId parent_stream_id, |
| 861 uint8 weight, |
| 862 bool exclusive) |
| 863 : SpdyFrameWithStreamIdIR(stream_id), |
| 864 parent_stream_id_(parent_stream_id), |
| 865 weight_(weight), |
| 866 exclusive_(exclusive) { |
| 867 } |
| 868 |
| 855 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const { | 869 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const { |
| 856 return visitor->VisitPriority(*this); | 870 return visitor->VisitPriority(*this); |
| 857 } | 871 } |
| 858 | 872 |
| 859 } // namespace net | 873 } // namespace net |
| OLD | NEW |