#include "mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h"
#include <stdint.h>
#include <utility>
#include "base/containers/span.h"
#include "base/task/sequenced_task_runner.h"
#include "mojo/public/cpp/bindings/lib/task_runner_helper.h"
namespace mojo {
namespace internal {
AssociatedInterfacePtrStateBase::AssociatedInterfacePtrStateBase() = default;
AssociatedInterfacePtrStateBase::~AssociatedInterfacePtrStateBase() = default;
void AssociatedInterfacePtrStateBase::QueryVersion(
base::OnceCallback<void(uint32_t)> callback) { … }
void AssociatedInterfacePtrStateBase::RequireVersion(uint32_t version) { … }
void AssociatedInterfacePtrStateBase::OnQueryVersion(
base::OnceCallback<void(uint32_t)> callback,
uint32_t version) { … }
void AssociatedInterfacePtrStateBase::FlushForTesting() { … }
void AssociatedInterfacePtrStateBase::CloseWithReason(
uint32_t custom_reason,
const std::string& description) { … }
void AssociatedInterfacePtrStateBase::Swap(
AssociatedInterfacePtrStateBase* other) { … }
void AssociatedInterfacePtrStateBase::Bind(
ScopedInterfaceEndpointHandle handle,
uint32_t version,
std::unique_ptr<MessageReceiver> validator,
scoped_refptr<base::SequencedTaskRunner> runner,
const char* interface_name,
MessageToMethodInfoCallback method_info_callback,
MessageToMethodNameCallback method_name_callback) { … }
ScopedInterfaceEndpointHandle AssociatedInterfacePtrStateBase::PassHandle() { … }
}
}