Deprecate gfe2_reloadable_flag_quic_notify_handshaker_on_connection_close.

PiperOrigin-RevId: 315280975
Change-Id: I9f77abd1e425f5dabb7827604ba48dd0f8c197c7
diff --git a/quic/core/http/end_to_end_test.cc b/quic/core/http/end_to_end_test.cc
index c487672..d1daa7c 100644
--- a/quic/core/http/end_to_end_test.cc
+++ b/quic/core/http/end_to_end_test.cc
@@ -3560,10 +3560,6 @@
 // Regression test for b/116200989.
 TEST_P(EndToEndTest,
        SendStatelessResetIfServerConnectionClosedLocallyDuringHandshake) {
-  if (!GetQuicReloadableFlag(quic_notify_handshaker_on_connection_close)) {
-    ASSERT_TRUE(Initialize());
-    return;
-  }
   connect_to_server_on_initialize_ = false;
   ASSERT_TRUE(Initialize());
 
diff --git a/quic/core/quic_session.cc b/quic/core/quic_session.cc
index e88d109..4aa2648 100644
--- a/quic/core/quic_session.cc
+++ b/quic/core/quic_session.cc
@@ -378,10 +378,7 @@
     on_closed_frame_ = frame;
   }
 
-  if (GetQuicReloadableFlag(quic_notify_handshaker_on_connection_close)) {
-    QUIC_RELOADABLE_FLAG_COUNT(quic_notify_handshaker_on_connection_close);
-    GetMutableCryptoStream()->OnConnectionClosed(frame.quic_error_code, source);
-  }
+  GetMutableCryptoStream()->OnConnectionClosed(frame.quic_error_code, source);
 
   // Copy all non static streams in a new map for the ease of deleting.
   QuicSmallMap<QuicStreamId, QuicStream*, 10> non_static_streams;
diff --git a/quic/core/tls_client_handshaker_test.cc b/quic/core/tls_client_handshaker_test.cc
index 8f6745a..1ed2042 100644
--- a/quic/core/tls_client_handshaker_test.cc
+++ b/quic/core/tls_client_handshaker_test.cc
@@ -501,7 +501,6 @@
   if (!connection_->version().UsesHttp3()) {
     return;
   }
-  SetQuicReloadableFlag(quic_notify_handshaker_on_connection_close, true);
   // Finish establishing the first connection:
   CompleteCryptoHandshake();
 
diff --git a/quic/core/tls_server_handshaker.cc b/quic/core/tls_server_handshaker.cc
index 58f75e4..60aa64f 100644
--- a/quic/core/tls_server_handshaker.cc
+++ b/quic/core/tls_server_handshaker.cc
@@ -336,8 +336,7 @@
     EncryptionLevel level,
     const SSL_CIPHER* cipher,
     const std::vector<uint8_t>& write_secret) {
-  if (GetQuicReloadableFlag(quic_notify_handshaker_on_connection_close) &&
-      state_ == STATE_CONNECTION_CLOSED) {
+  if (state_ == STATE_CONNECTION_CLOSED) {
     return;
   }
   if (level == ENCRYPTION_FORWARD_SECURE) {