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

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

Issue 354943002: Move HandshakeFailureReason from quic_crypto_server_config.h into (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/quic_crypto_client_config.h ('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.h
diff --git a/net/quic/crypto/quic_crypto_server_config.h b/net/quic/crypto/quic_crypto_server_config.h
index e9fe02579d2d0db6c598c6cd193b7b2778aefaa9..8760aced4273447837df818420e4f0be82103c53 100644
--- a/net/quic/crypto/quic_crypto_server_config.h
+++ b/net/quic/crypto/quic_crypto_server_config.h
@@ -40,46 +40,6 @@ namespace test {
class QuicCryptoServerConfigPeer;
} // namespace test
-enum HandshakeFailureReason {
- HANDSHAKE_OK = 0,
-
- // Failure reasons for an invalid client nonce in CHLO.
- //
- // TODO(rtenneti): Implement capturing of error from strike register.
- CLIENT_NONCE_UNKNOWN_FAILURE = 100,
- // Invalid client nonce. A possible reason, client nonce had incorrect length.
- CLIENT_NONCE_INVALID_FAILURE,
-
- // Failure reasons for an invalid server nonce in CHLO.
- SERVER_NONCE_INVALID_FAILURE = 200, // Nonce had incorrect length.
- SERVER_NONCE_DECRYPTION_FAILURE, // Unbox of nonce failed.
- SERVER_NONCE_NOT_UNIQUE_FAILURE, // Nonce is not unique.
-
- // Failure reasons for an invalid server config in CHLO.
- //
- // Missing Server config id (kSCID) tag.
- SERVER_CONFIG_INCHOATE_HELLO_FAILURE = 300,
- // GetConfigWithScid couldn't find the Server config id (kSCID).
- SERVER_CONFIG_UNKNOWN_CONFIG_FAILURE,
-
- // Failure reasons for an invalid source-address token.
- //
- // Missing Source-address token (kSourceAddressTokenTag) tag.
- SOURCE_ADDRESS_TOKEN_INVALID_FAILURE = 400,
- // Unbox of Source-address token failed.
- SOURCE_ADDRESS_TOKEN_DECRYPTION_FAILURE,
- // Couldn't parse the unbox'ed Source-address token.
- SOURCE_ADDRESS_TOKEN_PARSE_FAILURE,
- // Source-address token is for a different IP address.
- SOURCE_ADDRESS_TOKEN_DIFFERENT_IP_ADDRESS_FAILURE,
- // The difference between the time in source-address token and |now| is more
- // than |source_address_token_future_secs_|.
- SOURCE_ADDRESS_TOKEN_CLOCK_SKEW_FAILURE,
- // The difference between the time in source-address token and |now| is more
- // than |source_address_token_lifetime_secs_|.
- SOURCE_ADDRESS_TOKEN_EXPIRED_FAILURE,
-};
-
// Hook that allows application code to subscribe to primary config changes.
class PrimaryConfigChangedCallback {
public:
« no previous file with comments | « net/quic/crypto/quic_crypto_client_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698