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

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

Issue 1263803002: Replace SpdyNameValueBlock typedef with SpdyHeaderBlock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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') | net/spdy/spdy_session.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 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
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
OLDNEW
« no previous file with comments | « net/spdy/spdy_protocol.h ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698