Removes some virtual methods from Http2Adapter.

These methods will be specific to the nghttp2-based implementation, and don't need to be in the shared interface.

PiperOrigin-RevId: 364850829
Change-Id: I71158101d0ae03b26e03622478f16303c6107aad
diff --git a/http2/adapter/http2_adapter.h b/http2/adapter/http2_adapter.h
index 880a59e..4ce8a48 100644
--- a/http2/adapter/http2_adapter.h
+++ b/http2/adapter/http2_adapter.h
@@ -80,34 +80,12 @@
   explicit Http2Adapter(Http2VisitorInterface& visitor) : visitor_(visitor) {}
   virtual ~Http2Adapter() {}
 
-  // Performs any necessary initialization of the underlying HTTP/2 session,
-  // such as preparing initial SETTINGS.
-  virtual void Initialize() = 0;
-
-  // Creates the callbacks that will be used to initialize the |session_|.
-  virtual std::unique_ptr<Http2SessionCallbacks> CreateCallbacks() = 0;
-
-  // Creates with the given |callbacks| and |visitor| as context.
-  virtual std::unique_ptr<Http2Session> CreateSession(
-      std::unique_ptr<Http2SessionCallbacks> callbacks,
-      std::unique_ptr<Http2Options> options,
-      Http2VisitorInterface& visitor) = 0;
-
-  // Creates the connection-level configuration options for the |session_|.
-  virtual std::unique_ptr<Http2Options> CreateOptions() = 0;
-
   // Accessors. Do not transfer ownership.
   Http2VisitorInterface& visitor() { return visitor_; }
 
  private:
   // Http2Adapter will invoke callbacks upon the |visitor_| while processing.
   Http2VisitorInterface& visitor_;
-
-  // Http2Adapter creates a |session_| for use with the underlying library.
-  std::unique_ptr<Http2Session> session_;
-
-  // Http2Adapter creates the |options_| for use with the |session_|.
-  std::unique_ptr<Http2Options> options_;
 };
 
 }  // namespace adapter