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

// Copyright 2016 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/lib/binding_state.h"

#include <memory>

#include "base/task/sequenced_task_runner.h"
#include "mojo/public/cpp/bindings/lib/task_runner_helper.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"

#if BUILDFLAG(MOJO_RANDOM_DELAYS_ENABLED)
#include "mojo/public/cpp/bindings/lib/test_random_mojo_delays.h"
#endif

namespace mojo {
namespace internal {

BindingStateBase::BindingStateBase() = default;

BindingStateBase::~BindingStateBase() = default;

void BindingStateBase::SetFilter(std::unique_ptr<MessageFilter> filter) {}

bool BindingStateBase::HasAssociatedInterfaces() const {}

void BindingStateBase::PauseIncomingMethodCallProcessing() {}

void BindingStateBase::ResumeIncomingMethodCallProcessing() {}

bool BindingStateBase::WaitForIncomingMethodCall() {}

void BindingStateBase::PauseRemoteCallbacksUntilFlushCompletes(
    PendingFlush flush) {}

void BindingStateBase::FlushAsync(AsyncFlusher flusher) {}

void BindingStateBase::Close() {}

void BindingStateBase::CloseWithReason(uint32_t custom_reason,
                                       std::string_view description) {}

ReportBadMessageCallback BindingStateBase::GetBadMessageCallback() {}

void BindingStateBase::FlushForTesting() {}

void BindingStateBase::EnableBatchDispatch() {}

void BindingStateBase::EnableTestingMode() {}

scoped_refptr<internal::MultiplexRouter> BindingStateBase::RouterForTesting() {}

void BindingStateBase::BindInternal(
    PendingReceiverState* receiver_state,
    scoped_refptr<base::SequencedTaskRunner> runner,
    const char* interface_name,
    std::unique_ptr<MessageReceiver> request_validator,
    bool passes_associated_kinds,
    base::span<const uint32_t> sync_method_ordinals,
    MessageReceiverWithResponderStatus* stub,
    uint32_t interface_version,
    MessageToMethodInfoCallback method_info_callback,
    MessageToMethodNameCallback method_name_callback) {}

}  // namespace internal
}  // namespace mojo