chromium/mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.cc

// Copyright 2015 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/scoped_interface_endpoint_handle.h"

#include <string>
#include <string_view>

#include "base/check.h"
#include "base/functional/bind.h"
#include "base/synchronization/lock.h"
#include "base/task/sequenced_task_runner.h"
#include "mojo/public/cpp/bindings/associated_group_controller.h"
#include "mojo/public/cpp/bindings/lib/may_auto_lock.h"

namespace mojo {

// ScopedInterfaceEndpointHandle::State ----------------------------------------

// State could be called from multiple sequences.
class ScopedInterfaceEndpointHandle::State
    : public base::RefCountedThreadSafe<State> {};

// ScopedInterfaceEndpointHandle -----------------------------------------------

// static
void ScopedInterfaceEndpointHandle::CreatePairPendingAssociation(
    ScopedInterfaceEndpointHandle* handle0,
    ScopedInterfaceEndpointHandle* handle1) {}

ScopedInterfaceEndpointHandle::ScopedInterfaceEndpointHandle()
    :{}

ScopedInterfaceEndpointHandle::ScopedInterfaceEndpointHandle(
    ScopedInterfaceEndpointHandle&& other)
    :{}

ScopedInterfaceEndpointHandle::~ScopedInterfaceEndpointHandle() {}

ScopedInterfaceEndpointHandle& ScopedInterfaceEndpointHandle::operator=(
    ScopedInterfaceEndpointHandle&& other) {}

bool ScopedInterfaceEndpointHandle::is_valid() const {}

bool ScopedInterfaceEndpointHandle::pending_association() const {}

InterfaceId ScopedInterfaceEndpointHandle::id() const {}

AssociatedGroupController* ScopedInterfaceEndpointHandle::group_controller()
    const {}

const std::optional<DisconnectReason>&
ScopedInterfaceEndpointHandle::disconnect_reason() const {}

void ScopedInterfaceEndpointHandle::SetAssociationEventHandler(
    AssociationEventCallback handler) {}

void ScopedInterfaceEndpointHandle::reset() {}

void ScopedInterfaceEndpointHandle::ResetWithReason(
    uint32_t custom_reason,
    std::string_view description) {}

ScopedInterfaceEndpointHandle::ScopedInterfaceEndpointHandle(
    InterfaceId id,
    scoped_refptr<AssociatedGroupController> group_controller)
    :{}

bool ScopedInterfaceEndpointHandle::NotifyAssociation(
    InterfaceId id,
    scoped_refptr<AssociatedGroupController> peer_group_controller) {}

void ScopedInterfaceEndpointHandle::ResetInternal(
    const std::optional<DisconnectReason>& reason) {}

base::RepeatingCallback<AssociatedGroupController*()>
ScopedInterfaceEndpointHandle::CreateGroupControllerGetter() const {}

}  // namespace mojo