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

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

Issue 1423463003: Rename QuicDataStream to QuicSpdyStream. No behavior change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@105435080
Patch Set: Created 5 years, 2 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/quic_dispatcher_test.cc ('k') | net/tools/quic/quic_server_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 // A server specific QuicSession subclass. 5 // A server specific QuicSession subclass.
6 6
7 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_ 7 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_
8 #define NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_ 8 #define NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 void set_use_stateless_rejects_if_peer_supported( 98 void set_use_stateless_rejects_if_peer_supported(
99 bool use_stateless_rejects_if_peer_supported) { 99 bool use_stateless_rejects_if_peer_supported) {
100 DCHECK(GetCryptoStream() != nullptr); 100 DCHECK(GetCryptoStream() != nullptr);
101 GetCryptoStream()->set_use_stateless_rejects_if_peer_supported( 101 GetCryptoStream()->set_use_stateless_rejects_if_peer_supported(
102 use_stateless_rejects_if_peer_supported); 102 use_stateless_rejects_if_peer_supported);
103 } 103 }
104 104
105 protected: 105 protected:
106 // QuicSession methods: 106 // QuicSession methods:
107 QuicDataStream* CreateIncomingDynamicStream(QuicStreamId id) override; 107 QuicSpdyStream* CreateIncomingDynamicStream(QuicStreamId id) override;
108 QuicDataStream* CreateOutgoingDynamicStream() override; 108 QuicSpdyStream* CreateOutgoingDynamicStream() override;
109 QuicCryptoServerStream* GetCryptoStream() override; 109 QuicCryptoServerStream* GetCryptoStream() override;
110 110
111 // If we should create an incoming stream, returns true. Otherwise 111 // If we should create an incoming stream, returns true. Otherwise
112 // does error handling, including communicating the error to the client and 112 // does error handling, including communicating the error to the client and
113 // possibly closing the connection, and returns false. 113 // possibly closing the connection, and returns false.
114 virtual bool ShouldCreateIncomingDynamicStream(QuicStreamId id); 114 virtual bool ShouldCreateIncomingDynamicStream(QuicStreamId id);
115 115
116 virtual QuicCryptoServerStream* CreateQuicCryptoServerStream( 116 virtual QuicCryptoServerStream* CreateQuicCryptoServerStream(
117 const QuicCryptoServerConfig* crypto_config); 117 const QuicCryptoServerConfig* crypto_config);
118 118
(...skipping 20 matching lines...) Expand all
139 // Number of packets sent to the peer, at the time we last sent a SCUP. 139 // Number of packets sent to the peer, at the time we last sent a SCUP.
140 int64 last_scup_packet_number_; 140 int64 last_scup_packet_number_;
141 141
142 DISALLOW_COPY_AND_ASSIGN(QuicServerSession); 142 DISALLOW_COPY_AND_ASSIGN(QuicServerSession);
143 }; 143 };
144 144
145 } // namespace tools 145 } // namespace tools
146 } // namespace net 146 } // namespace net
147 147
148 #endif // NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_ 148 #endif // NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_dispatcher_test.cc ('k') | net/tools/quic/quic_server_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698