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

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

Issue 992613005: Revert of Test dead code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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