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

Unified Diff: net/tools/quic/quic_client.cc

Issue 14718011: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index ff8502f012d6fb4c23d34ac48a39044fa9d32a6f..5054eb91dd35ae2c08cc58dcf184d2e43a18d902 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -121,7 +121,7 @@ bool QuicClient::Connect() {
if (!StartConnect()) {
return false;
}
- while (CryptoHandshakeInProgress()) {
+ while (EncryptionBeingEstablished()) {
WaitForEvents();
}
return session_->connection()->connected();
@@ -141,8 +141,8 @@ bool QuicClient::StartConnect() {
return session_->CryptoConnect();
}
-bool QuicClient::CryptoHandshakeInProgress() {
- return !session_->IsCryptoHandshakeComplete() &&
+bool QuicClient::EncryptionBeingEstablished() {
+ return !session_->IsEncryptionEstablished() &&
session_->connection()->connected();
}
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698