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

Side by Side Diff: net/tools/quic/quic_server_session_base.h

Issue 1785863002: Remove FEC related connection options and update FEC related comment in code base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116555910
Patch Set: Created 4 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/tools/quic/end_to_end_test.cc ('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 // A server specific QuicSession subclass. 5 // A server specific QuicSession subclass.
6 6
7 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_SESSION_BASE_H_ 7 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_SESSION_BASE_H_
8 #define NET_TOOLS_QUIC_QUIC_SERVER_SESSION_BASE_H_ 8 #define NET_TOOLS_QUIC_QUIC_SERVER_SESSION_BASE_H_
9 9
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void OnCongestionWindowChange(QuicTime now) override; 72 void OnCongestionWindowChange(QuicTime now) override;
73 73
74 ~QuicServerSessionBase() override; 74 ~QuicServerSessionBase() override;
75 75
76 void Initialize() override; 76 void Initialize() override;
77 77
78 const QuicCryptoServerStreamBase* crypto_stream() const { 78 const QuicCryptoServerStreamBase* crypto_stream() const {
79 return crypto_stream_.get(); 79 return crypto_stream_.get();
80 } 80 }
81 81
82 // Override base class to process FEC config received from client. 82 // Override base class to process bandwidth related config received from
83 // client.
83 void OnConfigNegotiated() override; 84 void OnConfigNegotiated() override;
84 85
85 void set_serving_region(const std::string& serving_region) { 86 void set_serving_region(const std::string& serving_region) {
86 serving_region_ = serving_region; 87 serving_region_ = serving_region;
87 } 88 }
88 89
89 protected: 90 protected:
90 // QuicSession methods(override them with return type of QuicSpdyStream*): 91 // QuicSession methods(override them with return type of QuicSpdyStream*):
91 QuicCryptoServerStreamBase* GetCryptoStream() override; 92 QuicCryptoServerStreamBase* GetCryptoStream() override;
92 93
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 136
136 // Number of packets sent to the peer, at the time we last sent a SCUP. 137 // Number of packets sent to the peer, at the time we last sent a SCUP.
137 int64_t last_scup_packet_number_; 138 int64_t last_scup_packet_number_;
138 139
139 DISALLOW_COPY_AND_ASSIGN(QuicServerSessionBase); 140 DISALLOW_COPY_AND_ASSIGN(QuicServerSessionBase);
140 }; 141 };
141 142
142 } // namespace net 143 } // namespace net
143 144
144 #endif // NET_TOOLS_QUIC_QUIC_SERVER_SESSION_BASE_H_ 145 #endif // NET_TOOLS_QUIC_QUIC_SERVER_SESSION_BASE_H_
OLDNEW
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698