chromium/chrome/browser/enterprise/connectors/device_trust/key_management/installer/management_service/mojo_helper/mojo_helper.cc

// 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.

#include "chrome/browser/enterprise/connectors/device_trust/key_management/installer/management_service/mojo_helper/mojo_helper.h"

#include <utility>

#include "base/command_line.h"
#include "base/no_destructor.h"

#include "mojo/public/cpp/platform/platform_channel.h"
#include "mojo/public/cpp/system/invitation.h"
#include "mojo/public/cpp/system/message_pipe.h"

namespace enterprise_connectors {

namespace {

std::unique_ptr<MojoHelper>* GetTestInstanceStorage() {}

}  // namespace

class MojoHelperImpl : public MojoHelper {};

// static
void MojoHelper::SetInstanceForTesting(std::unique_ptr<MojoHelper> helper) {}

// static
std::unique_ptr<MojoHelper> MojoHelper::Create() {}

MojoHelperImpl::MojoHelperImpl() = default;
MojoHelperImpl::~MojoHelperImpl() = default;

mojo::PlatformChannelEndpoint MojoHelperImpl::GetEndpointFromCommandLine(
    const base::CommandLine& command_line) {}

mojo::IncomingInvitation MojoHelperImpl::AcceptMojoInvitation(
    mojo::PlatformChannelEndpoint channel_endpoint) {}

mojo::ScopedMessagePipeHandle MojoHelperImpl::ExtractMojoMessage(
    mojo::IncomingInvitation invitation,
    uint64_t pipe_name) {}
mojo::PendingRemote<network::mojom::URLLoaderFactory>
MojoHelperImpl::CreatePendingRemote(mojo::ScopedMessagePipeHandle pipe_handle) {}

void MojoHelperImpl::BindRemote(
    mojo::Remote<network::mojom::URLLoaderFactory>& remote_url_loader_factory,
    mojo::PendingRemote<network::mojom::URLLoaderFactory>
        pending_remote_url_loader_factory) {}

bool MojoHelperImpl::CheckRemoteConnection(
    mojo::Remote<network::mojom::URLLoaderFactory>& remote_url_loader_factory) {}

}  // namespace enterprise_connectors