chromium/mojo/public/cpp/bindings/generic_pending_receiver.cc

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

#include "mojo/public/cpp/bindings/generic_pending_receiver.h"

#include <string_view>

#include "base/trace_event/trace_event.h"

namespace mojo {

GenericPendingReceiver::GenericPendingReceiver() = default;

GenericPendingReceiver::GenericPendingReceiver(
    std::string_view interface_name,
    mojo::ScopedMessagePipeHandle receiving_pipe)
    :{}

GenericPendingReceiver::GenericPendingReceiver(GenericPendingReceiver&&) =
    default;

GenericPendingReceiver::~GenericPendingReceiver() = default;

GenericPendingReceiver& GenericPendingReceiver::operator=(
    GenericPendingReceiver&&) = default;

void GenericPendingReceiver::reset() {}

mojo::ScopedMessagePipeHandle GenericPendingReceiver::PassPipe() {}

mojo::ScopedMessagePipeHandle GenericPendingReceiver::PassPipeIfNameIs(
    const char* interface_name) {}

void GenericPendingReceiver::WriteIntoTrace(perfetto::TracedValue ctx) const {}

}  // namespace mojo