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

Unified Diff: net/quic/crypto/quic_crypto_server_config.cc

Issue 359823002: Deleted unneeded enums from HandshakeFailureReason. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/crypto/crypto_server_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/quic_crypto_server_config.cc
diff --git a/net/quic/crypto/quic_crypto_server_config.cc b/net/quic/crypto/quic_crypto_server_config.cc
index a37a88f7ba058416ba3e5910c29ef2b9e098075f..ad4544963830c29668a3db48409c963621034749 100644
--- a/net/quic/crypto/quic_crypto_server_config.cc
+++ b/net/quic/crypto/quic_crypto_server_config.cc
@@ -152,9 +152,9 @@ class VerifyNonceIsValidAndUniqueCallback
DVLOG(1) << "Using client nonce, unique: " << nonce_is_valid_and_unique;
result_->info.unique = nonce_is_valid_and_unique;
// TODO(rtenneti): Implement capturing of error from strike register.
- // Temporarily treat them as CLIENT_NONCE_UNKNOWN_FAILURE.
+ // Temporarily treat them as CLIENT_NONCE_INVALID_FAILURE.
if (!nonce_is_valid_and_unique) {
- result_->info.reject_reasons.push_back(CLIENT_NONCE_UNKNOWN_FAILURE);
+ result_->info.reject_reasons.push_back(CLIENT_NONCE_INVALID_FAILURE);
}
done_cb_->Run(result_);
}
« no previous file with comments | « net/quic/crypto/crypto_server_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698