#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 {
class ScopedInterfaceEndpointHandle::State
: public base::RefCountedThreadSafe<State> { … };
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 { … }
}