Removes deprecated and unused methods from the Http2Adapter interface.

PiperOrigin-RevId: 699276945
diff --git a/quiche/http2/adapter/http2_adapter.h b/quiche/http2/adapter/http2_adapter.h
index ef0700e..d4dccca 100644
--- a/quiche/http2/adapter/http2_adapter.h
+++ b/quiche/http2/adapter/http2_adapter.h
@@ -121,14 +121,6 @@
   // returns a negative integer indicating an error code. |data_source| should
   // be nullptr if the request does not have a body. If |end_stream| is true,
   // the adapter will set the fin bit on the request HEADERS frame.
-  // DEPRECATED in favor of the version with end_headers.
-  int32_t SubmitRequest(absl::Span<const Header> headers,
-                        std::unique_ptr<DataFrameSource> data_source,
-                        void* user_data) {
-    const bool end_headers = (data_source == nullptr);
-    return SubmitRequest(headers, std::move(data_source), end_headers,
-                         user_data);
-  }
   virtual int32_t SubmitRequest(absl::Span<const Header> headers,
                                 std::unique_ptr<DataFrameSource> data_source,
                                 bool end_stream, void* user_data) = 0;
@@ -136,13 +128,6 @@
   // Returns 0 on success. |data_source| may be nullptr if the response does not
   // have a body. If |end_stream| is true, the adapter will set the fin bit on
   // the response HEADERS frame.
-  // DEPRECATED in favor of the version with end_headers.
-  int SubmitResponse(Http2StreamId stream_id, absl::Span<const Header> headers,
-                     std::unique_ptr<DataFrameSource> data_source) {
-    const bool end_headers = (data_source == nullptr);
-    return SubmitResponse(stream_id, headers, std::move(data_source),
-                          end_headers);
-  }
   virtual int SubmitResponse(Http2StreamId stream_id,
                              absl::Span<const Header> headers,
                              std::unique_ptr<DataFrameSource> data_source,