Remove QuicSleep from platform.

This has a default implementation, with no internal override, and no override in
Envoy.  Chromium has an unused implementation at
net/quic/platform/impl/quic_sleep_impl.h but because of the way QUICHE overrides
work this is not actually effective.  (Overrides need to be placed in
net/third_party/quiche/overrides/quiche_platform_impl/ in order to take
precedent over the default implementation packaged with QUICHE.)

I verified that absl/time/time.h and absl/time/clock.h are included at [1] and
absl/time exists at [2].  Also, we know that they work in Chromium since it
already uses the default implementation, which relies on these includes.

[1]
https://source.chromium.org/chromium/chromium/src/+/main:third_party/abseil-cpp/absl/time/
[2]
https://source.chromium.org/chromium/chromium/src/+/master:third_party/abseil-cpp/BUILD.gn

PiperOrigin-RevId: 433776909
diff --git a/common/platform/default/quiche_platform_impl/quiche_sleep_impl.h b/common/platform/default/quiche_platform_impl/quiche_sleep_impl.h
deleted file mode 100644
index 125af37..0000000
--- a/common/platform/default/quiche_platform_impl/quiche_sleep_impl.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_SLEEP_IMPL_H_
-#define QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_SLEEP_IMPL_H_
-
-#include "quic/core/quic_time.h"
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Weverything"
-
-#include "absl/time/clock.h"
-#include "absl/time/time.h"
-
-#pragma clang diagnostic pop
-
-namespace quic {
-
-inline void QuicSleepImpl(QuicTime::Delta duration) {
-  absl::SleepFor(absl::Microseconds(duration.ToMicroseconds()));
-}
-
-}  // namespace quic
-
-#endif  // QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_SLEEP_IMPL_H_
diff --git a/quic/core/http/end_to_end_test.cc b/quic/core/http/end_to_end_test.cc
index 182ef18..b881dcd 100644
--- a/quic/core/http/end_to_end_test.cc
+++ b/quic/core/http/end_to_end_test.cc
@@ -13,6 +13,8 @@
 
 #include "absl/strings/str_cat.h"
 #include "absl/strings/string_view.h"
+#include "absl/time/clock.h"
+#include "absl/time/time.h"
 #include "quic/core/crypto/null_encrypter.h"
 #include "quic/core/crypto/quic_client_session_cache.h"
 #include "quic/core/http/http_constants.h"
@@ -35,7 +37,6 @@
 #include "quic/platform/api/quic_flags.h"
 #include "quic/platform/api/quic_logging.h"
 #include "quic/platform/api/quic_port_utils.h"
-#include "quic/platform/api/quic_sleep.h"
 #include "quic/platform/api/quic_socket_address.h"
 #include "quic/platform/api/quic_test.h"
 #include "quic/platform/api/quic_test_loopback.h"
@@ -4334,7 +4335,7 @@
       client_->client()->network_helper()->GetLatestClientAddress().host(),
       server_address_, nullptr);
   // Give the server time to process the packet.
-  QuicSleep(QuicTime::Delta::FromSeconds(1));
+  absl::SleepFor(absl::Seconds(1));
   // This error is sent to the connection's OnError (which ignores it), so the
   // dispatcher doesn't see it.
   // Pause the server so we can access the server's internals without races.
diff --git a/quic/platform/api/quic_sleep.h b/quic/platform/api/quic_sleep.h
deleted file mode 100644
index 00253c3..0000000
--- a/quic/platform/api/quic_sleep.h
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2018 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_SLEEP_H_
-#define QUICHE_QUIC_PLATFORM_API_QUIC_SLEEP_H_
-
-#include "quic/core/quic_time.h"
-// TODO(b/178613777): move into the common QUICHE platform.
-#include "quiche_platform_impl/quiche_sleep_impl.h"
-
-namespace quic {
-
-inline void QuicSleep(QuicTime::Delta duration) {
-  QuicSleepImpl(duration);
-}
-
-}  // namespace quic
-
-#endif  // QUICHE_QUIC_PLATFORM_API_QUIC_SLEEP_H_