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

Side by Side Diff: net/quic/quartc/quartc_session.h

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 years, 8 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/platform/impl/quic_flags_impl.cc ('k') | net/quic/quartc/quartc_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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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_QUARTC_QUARTC_SESSION_H_ 5 #ifndef NET_QUIC_QUARTC_QUARTC_SESSION_H_
6 #define NET_QUIC_QUARTC_QUARTC_SESSION_H_ 6 #define NET_QUIC_QUARTC_QUARTC_SESSION_H_
7 7
8 #include "net/quic/core/quic_crypto_client_stream.h" 8 #include "net/quic/core/quic_crypto_client_stream.h"
9 #include "net/quic/core/quic_crypto_server_stream.h" 9 #include "net/quic/core/quic_crypto_server_stream.h"
10 #include "net/quic/core/quic_crypto_stream.h" 10 #include "net/quic/core/quic_crypto_stream.h"
(...skipping 22 matching lines...) Expand all
33 public QuicCryptoClientStream::ProofHandler { 33 public QuicCryptoClientStream::ProofHandler {
34 public: 34 public:
35 QuartcSession(std::unique_ptr<QuicConnection> connection, 35 QuartcSession(std::unique_ptr<QuicConnection> connection,
36 const QuicConfig& config, 36 const QuicConfig& config,
37 const std::string& unique_remote_server_id, 37 const std::string& unique_remote_server_id,
38 Perspective perspective, 38 Perspective perspective,
39 QuicConnectionHelperInterface* helper); 39 QuicConnectionHelperInterface* helper);
40 ~QuartcSession() override; 40 ~QuartcSession() override;
41 41
42 // QuicSession overrides. 42 // QuicSession overrides.
43 QuicCryptoStream* GetCryptoStream() override; 43 const QuicCryptoStream* GetCryptoStream() const override;
44 QuicCryptoStream* GetMutableCryptoStream() override;
44 45
45 QuartcStream* CreateOutgoingDynamicStream(SpdyPriority priority) override; 46 QuartcStream* CreateOutgoingDynamicStream(SpdyPriority priority) override;
46 47
47 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override; 48 void OnCryptoHandshakeEvent(CryptoHandshakeEvent event) override;
48 49
49 void CloseStream(QuicStreamId stream_id) override; 50 void CloseStream(QuicStreamId stream_id) override;
50 51
51 // QuicConnectionVisitorInterface overrides. 52 // QuicConnectionVisitorInterface overrides.
52 void OnConnectionClosed(QuicErrorCode error, 53 void OnConnectionClosed(QuicErrorCode error,
53 const std::string& error_details, 54 const std::string& error_details,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 std::unique_ptr<QuicCryptoClientConfig> quic_crypto_client_config_; 116 std::unique_ptr<QuicCryptoClientConfig> quic_crypto_client_config_;
116 // Config for QUIC crypto server stream, used by the server. 117 // Config for QUIC crypto server stream, used by the server.
117 std::unique_ptr<QuicCryptoServerConfig> quic_crypto_server_config_; 118 std::unique_ptr<QuicCryptoServerConfig> quic_crypto_server_config_;
118 119
119 DISALLOW_COPY_AND_ASSIGN(QuartcSession); 120 DISALLOW_COPY_AND_ASSIGN(QuartcSession);
120 }; 121 };
121 122
122 } // namespace net 123 } // namespace net
123 124
124 #endif // NET_QUIC_QUARTC_QUARTC_SESSION_H_ 125 #endif // NET_QUIC_QUARTC_QUARTC_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/platform/impl/quic_flags_impl.cc ('k') | net/quic/quartc/quartc_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698