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

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

Issue 2097123002: QUIC - Race Cert Verification with host resolution if certs are (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Race cert verification. Created 4 years, 5 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/test_tools/quic_test_utils.h ('k') | net/tools/quic/quic_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. 5 // A client specific QuicSession subclass.
6 6
7 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ 7 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_
8 #define NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ 8 #define NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 25 matching lines...) Expand all
36 36
37 // QuicSession methods: 37 // QuicSession methods:
38 QuicSpdyClientStream* CreateOutgoingDynamicStream( 38 QuicSpdyClientStream* CreateOutgoingDynamicStream(
39 SpdyPriority priority) override; 39 SpdyPriority priority) override;
40 QuicCryptoClientStreamBase* GetCryptoStream() override; 40 QuicCryptoClientStreamBase* GetCryptoStream() override;
41 41
42 bool IsAuthorized(const std::string& authority) override; 42 bool IsAuthorized(const std::string& authority) override;
43 43
44 // QuicClientSessionBase methods: 44 // QuicClientSessionBase methods:
45 void OnProofValid(const QuicCryptoClientConfig::CachedState& cached) override; 45 void OnProofValid(const QuicCryptoClientConfig::CachedState& cached) override;
46 void OnChannelValid() override;
46 void OnProofVerifyDetailsAvailable( 47 void OnProofVerifyDetailsAvailable(
47 const ProofVerifyDetails& verify_details) override; 48 const ProofVerifyDetails& verify_details) override;
48 49
49 // Performs a crypto handshake with the server. 50 // Performs a crypto handshake with the server.
50 void CryptoConnect(); 51 void CryptoConnect();
51 52
52 // Returns the number of client hello messages that have been sent on the 53 // Returns the number of client hello messages that have been sent on the
53 // crypto stream. If the handshake has completed then this is one greater 54 // crypto stream. If the handshake has completed then this is one greater
54 // than the number of round-trips needed for the handshake. 55 // than the number of round-trips needed for the handshake.
55 int GetNumSentClientHellos() const; 56 int GetNumSentClientHellos() const;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // If this is set to false, the client will ignore server GOAWAYs and allow 90 // If this is set to false, the client will ignore server GOAWAYs and allow
90 // the creation of streams regardless of the high chance they will fail. 91 // the creation of streams regardless of the high chance they will fail.
91 bool respect_goaway_; 92 bool respect_goaway_;
92 93
93 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); 94 DISALLOW_COPY_AND_ASSIGN(QuicClientSession);
94 }; 95 };
95 96
96 } // namespace net 97 } // namespace net
97 98
98 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_ 99 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | net/tools/quic/quic_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698