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

Side by Side Diff: net/quic/quic_chromium_client_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/net.gypi ('k') | net/quic/quic_chromium_client_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 client specific QuicSession subclass. This class owns the underlying 5 // A client specific QuicSession subclass. This class owns the underlying
6 // QuicConnection and QuicConnectionHelper objects. The connection stores 6 // QuicConnection and QuicConnectionHelper objects. The connection stores
7 // a non-owning pointer to the helper so this session needs to ensure that 7 // a non-owning pointer to the helper so this session needs to ensure that
8 // the helper outlives the connection. 8 // the helper outlives the connection.
9 9
10 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ 10 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // is a secure QUIC session, then |hostname| must match the certificate 212 // is a secure QUIC session, then |hostname| must match the certificate
213 // presented during the handshake. 213 // presented during the handshake.
214 bool CanPool(const std::string& hostname, PrivacyMode privacy_mode) const; 214 bool CanPool(const std::string& hostname, PrivacyMode privacy_mode) const;
215 215
216 const QuicServerId& server_id() const { return server_id_; } 216 const QuicServerId& server_id() const { return server_id_; }
217 217
218 QuicDisabledReason disabled_reason() const { return disabled_reason_; } 218 QuicDisabledReason disabled_reason() const { return disabled_reason_; }
219 219
220 protected: 220 protected:
221 // QuicSession methods: 221 // QuicSession methods:
222 QuicDataStream* CreateIncomingDynamicStream(QuicStreamId id) override; 222 QuicSpdyStream* CreateIncomingDynamicStream(QuicStreamId id) override;
223 223
224 private: 224 private:
225 friend class test::QuicChromiumClientSessionPeer; 225 friend class test::QuicChromiumClientSessionPeer;
226 226
227 typedef std::set<Observer*> ObserverSet; 227 typedef std::set<Observer*> ObserverSet;
228 typedef std::list<StreamRequest*> StreamRequestQueue; 228 typedef std::list<StreamRequest*> StreamRequestQueue;
229 229
230 QuicReliableClientStream* CreateOutgoingReliableStreamImpl(); 230 QuicReliableClientStream* CreateOutgoingReliableStreamImpl();
231 // A completion callback invoked when a read completes. 231 // A completion callback invoked when a read completes.
232 void OnReadComplete(int result); 232 void OnReadComplete(int result);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 bool going_away_; 286 bool going_away_;
287 QuicDisabledReason disabled_reason_; 287 QuicDisabledReason disabled_reason_;
288 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_; 288 base::WeakPtrFactory<QuicChromiumClientSession> weak_factory_;
289 289
290 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession); 290 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSession);
291 }; 291 };
292 292
293 } // namespace net 293 } // namespace net
294 294
295 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_ 295 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/quic/quic_chromium_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698