| 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 SpdyFrameWithHeaderBlockIR::SpdyFrameWithHeaderBlockIR(SpdyStreamId stream_id) |
| 10 SpdyStreamId stream_id) : SpdyFrameWithFinIR(stream_id) {} | 10 : SpdyFrameWithFinIR(stream_id) {} |
| 11 | 11 |
| 12 SpdyFrameWithNameValueBlockIR::~SpdyFrameWithNameValueBlockIR() {} | 12 SpdyFrameWithHeaderBlockIR::~SpdyFrameWithHeaderBlockIR() {} |
| 13 | 13 |
| 14 SpdyDataIR::SpdyDataIR(SpdyStreamId stream_id, base::StringPiece data) | 14 SpdyDataIR::SpdyDataIR(SpdyStreamId stream_id, base::StringPiece data) |
| 15 : SpdyFrameWithFinIR(stream_id), padded_(false), padding_payload_len_(0) { | 15 : SpdyFrameWithFinIR(stream_id), padded_(false), padding_payload_len_(0) { |
| 16 SetDataDeep(data); | 16 SetDataDeep(data); |
| 17 } | 17 } |
| 18 | 18 |
| 19 SpdyDataIR::SpdyDataIR(SpdyStreamId stream_id) | 19 SpdyDataIR::SpdyDataIR(SpdyStreamId stream_id) |
| 20 : SpdyFrameWithFinIR(stream_id), | 20 : SpdyFrameWithFinIR(stream_id), |
| 21 padded_(false), | 21 padded_(false), |
| 22 padding_payload_len_(0) {} | 22 padding_payload_len_(0) {} |
| (...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const { | 855 void SpdyPriorityIR::Visit(SpdyFrameVisitor* visitor) const { |
| 856 return visitor->VisitPriority(*this); | 856 return visitor->VisitPriority(*this); |
| 857 } | 857 } |
| 858 | 858 |
| 859 } // namespace net | 859 } // namespace net |
| OLD | NEW |