chromium/remoting/host/remote_open_url/remote_open_url_message_handler.cc

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

#include "remoting/host/remote_open_url/remote_open_url_message_handler.h"

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/logging.h"
#include "remoting/base/compound_buffer.h"
#include "remoting/protocol/message_serialization.h"
#include "url/gurl.h"

namespace remoting {

namespace {

using OpenUrlResponse = protocol::RemoteOpenUrl::OpenUrlResponse;

mojom::OpenUrlResult ToMojomOpenUrlResult(
    OpenUrlResponse::Result protobuf_result) {}

}  // namespace

RemoteOpenUrlMessageHandler::RemoteOpenUrlMessageHandler(
    const std::string& name,
    std::unique_ptr<protocol::MessagePipe> pipe)
    :{}

RemoteOpenUrlMessageHandler::~RemoteOpenUrlMessageHandler() {}

void RemoteOpenUrlMessageHandler::AddReceiver(
    mojo::PendingReceiver<mojom::RemoteUrlOpener> receiver) {}

void RemoteOpenUrlMessageHandler::ClearReceivers() {}

void RemoteOpenUrlMessageHandler::OnIncomingMessage(
    std::unique_ptr<CompoundBuffer> message) {}

void RemoteOpenUrlMessageHandler::OnDisconnecting() {}

base::WeakPtr<RemoteOpenUrlMessageHandler>
RemoteOpenUrlMessageHandler::GetWeakPtr() {}

mojo::ReceiverId RemoteOpenUrlMessageHandler::AddReceiverAndGetReceiverId(
    mojo::PendingReceiver<mojom::RemoteUrlOpener> receiver) {}

void RemoteOpenUrlMessageHandler::OnIpcDisconnected() {}

void RemoteOpenUrlMessageHandler::OpenUrl(const GURL& url,
                                          OpenUrlCallback callback) {}

}  // namespace remoting