Move Http2Deque implementation into QUICHE.
PiperOrigin-RevId: 356244590
Change-Id: Ibbe4ccd70dff0c75a4f83e7dcc1a988b42d28b6f
diff --git a/common/platform/default/quiche_platform_impl/quiche_containers_impl.h b/common/platform/default/quiche_platform_impl/quiche_containers_impl.h
new file mode 100644
index 0000000..2e18dd7
--- /dev/null
+++ b/common/platform/default/quiche_platform_impl/quiche_containers_impl.h
@@ -0,0 +1,21 @@
+// Copyright 2021 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_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_CONTAINERS_IMPL_H_
+#define QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_CONTAINERS_IMPL_H_
+
+#include <deque>
+
+namespace quiche {
+
+// Represents a double-ended queue which may be backed by a list or a flat
+// circular buffer.
+//
+// DOES NOT GUARANTEE POINTER OR ITERATOR STABILITY!
+template <typename T>
+using QuicheDequeImpl = std::deque<T>;
+
+} // namespace quiche
+
+#endif // QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_CONTAINERS_IMPL_H_
diff --git a/http2/platform/api/http2_containers.h b/http2/platform/api/http2_containers.h
index e748e7b..7bd3f8e 100644
--- a/http2/platform/api/http2_containers.h
+++ b/http2/platform/api/http2_containers.h
@@ -1,7 +1,7 @@
#ifndef QUICHE_HTTP2_PLATFORM_API_HTTP2_CONTAINERS_H_
#define QUICHE_HTTP2_PLATFORM_API_HTTP2_CONTAINERS_H_
-#include "net/http2/platform/impl/http2_containers_impl.h"
+#include "quiche_platform_impl/quiche_containers_impl.h"
namespace http2 {
@@ -10,7 +10,7 @@
//
// DOES NOT GUARANTEE POINTER OR ITERATOR STABILITY!
template <typename T>
-using Http2Deque = Http2DequeImpl<T>;
+using Http2Deque = quiche::QuicheDequeImpl<T>;
} // namespace http2