chromium/components/cast_streaming/browser/control/remoting/rpc_initialization_call_handler_base.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_CAST_STREAMING_BROWSER_CONTROL_REMOTING_RPC_INITIALIZATION_CALL_HANDLER_BASE_H_
#define COMPONENTS_CAST_STREAMING_BROWSER_CONTROL_REMOTING_RPC_INITIALIZATION_CALL_HANDLER_BASE_H_

#include <memory>

#include "base/functional/callback.h"
#include "base/memory/weak_ptr.h"
#include "media/cast/openscreen/rpc_call_message_handler.h"
#include "third_party/openscreen/src/cast/streaming/rpc_messenger.h"

namespace openscreen::cast {
class RpcMessage;
}  // namespace openscreen::cast

namespace cast_streaming::remoting {

// This class acts to simplify the initialization process. Instead of directly
// handling RPC messages, implementers of this class only need to call a single
// callback at the appropriate time.
class RpcInitializationCallHandlerBase
    : public media::cast::RpcInitializationCallMessageHandler {};

}  // namespace cast_streaming::remoting

#endif  // COMPONENTS_CAST_STREAMING_BROWSER_CONTROL_REMOTING_RPC_INITIALIZATION_CALL_HANDLER_BASE_H_