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

Side by Side Diff: net/quic/quic_client_session_base.h

Issue 1190823003: Remove dependency on headers stream from QuicSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0616
Patch Set: deleted an include Created 5 years, 6 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/quic/quic_client_session.cc ('k') | net/quic/quic_client_session_base.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ 5 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_
6 #define NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ 6 #define NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_
7 7
8 #include "net/quic/quic_crypto_client_stream.h" 8 #include "net/quic/quic_crypto_client_stream.h"
9 #include "net/quic/quic_session.h" 9 #include "net/quic/quic_spdy_session.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 // Base class for all client-specific QuicSession subclasses. 13 // Base class for all client-specific QuicSession subclasses.
14 class NET_EXPORT_PRIVATE QuicClientSessionBase : public QuicSession { 14 class NET_EXPORT_PRIVATE QuicClientSessionBase : public QuicSpdySession {
15 public: 15 public:
16 QuicClientSessionBase(QuicConnection* connection, 16 QuicClientSessionBase(QuicConnection* connection,
17 const QuicConfig& config); 17 const QuicConfig& config);
18 18
19 ~QuicClientSessionBase() override; 19 ~QuicClientSessionBase() override;
20 20
21 // Called when the proof in |cached| is marked valid. If this is a secure 21 // Called when the proof in |cached| is marked valid. If this is a secure
22 // QUIC session, then this will happen only after the proof verifier 22 // QUIC session, then this will happen only after the proof verifier
23 // completes. If this is an insecure QUIC connection, this will happen 23 // completes. If this is an insecure QUIC connection, this will happen
24 // as soon as a valid config is discovered (either from the cache or 24 // as soon as a valid config is discovered (either from the cache or
(...skipping 10 matching lines...) Expand all
35 // Override base class to set FEC policy before any data is sent by client. 35 // Override base class to set FEC policy before any data is sent by client.
36 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; 36 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override;
37 37
38 private: 38 private:
39 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase); 39 DISALLOW_COPY_AND_ASSIGN(QuicClientSessionBase);
40 }; 40 };
41 41
42 } // namespace net 42 } // namespace net
43 43
44 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_ 44 #endif // NET_QUIC_QUIC_CLIENT_SESSION_BASE_H_
OLDNEW
« no previous file with comments | « net/quic/quic_client_session.cc ('k') | net/quic/quic_client_session_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698