#include "components/media_router/browser/presentation/browser_presentation_connection_proxy.h"
#include <memory>
#include <vector>
#include "base/functional/bind.h"
#include "components/media_router/browser/media_router.h"
#include "components/media_router/browser/route_message_util.h"
namespace media_router {
BrowserPresentationConnectionProxy::BrowserPresentationConnectionProxy(
MediaRouter* router,
const MediaRoute::Id& route_id,
mojo::PendingReceiver<blink::mojom::PresentationConnection>
receiver_connection_receiver,
mojo::PendingRemote<blink::mojom::PresentationConnection>
controller_connection_remote)
: … { … }
BrowserPresentationConnectionProxy::~BrowserPresentationConnectionProxy() { … }
void BrowserPresentationConnectionProxy::OnMessage(
blink::mojom::PresentationConnectionMessagePtr message) { … }
void BrowserPresentationConnectionProxy::DidClose(
blink::mojom::PresentationConnectionCloseReason reason) { … }
void BrowserPresentationConnectionProxy::OnMessagesReceived(
std::vector<mojom::RouteMessagePtr> messages) { … }
}