chromium/third_party/blink/common/messaging/message_port_descriptor.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 "third_party/blink/public/common/messaging/message_port_descriptor.h"

#include <utility>

namespace blink {

namespace {

MessagePortDescriptor::InstrumentationDelegate* g_instrumentation_delegate =;

}  // namespace

// static
const size_t MessagePortDescriptor::kInvalidSequenceNumber;

// static
const size_t MessagePortDescriptor::kFirstValidSequenceNumber;

// static
void MessagePortDescriptor::SetInstrumentationDelegate(
    InstrumentationDelegate* delegate) {}

MessagePortDescriptor::MessagePortDescriptor() = default;

MessagePortDescriptor::MessagePortDescriptor(
    MessagePortDescriptor&& message_port)
    :{}

MessagePortDescriptor& MessagePortDescriptor::operator=(
    MessagePortDescriptor&& message_port) {}

MessagePortDescriptor::~MessagePortDescriptor() {}

MojoHandle MessagePortDescriptor::GetMojoHandleForTesting() const {}

bool MessagePortDescriptor::IsValid() const {}

bool MessagePortDescriptor::IsEntangled() const {}

bool MessagePortDescriptor::IsDefault() const {}

void MessagePortDescriptor::Reset() {}

void MessagePortDescriptor::InitializeFromSerializedValues(
    mojo::ScopedMessagePipeHandle handle,
    const base::UnguessableToken& id,
    uint64_t sequence_number) {}

mojo::ScopedMessagePipeHandle
MessagePortDescriptor::TakeHandleForSerialization() {}

base::UnguessableToken MessagePortDescriptor::TakeIdForSerialization() {}

uint64_t MessagePortDescriptor::TakeSequenceNumberForSerialization() {}

mojo::ScopedMessagePipeHandle MessagePortDescriptor::TakeHandleToEntangle(
    ExecutionContext* execution_context) {}

mojo::ScopedMessagePipeHandle
MessagePortDescriptor::TakeHandleToEntangleWithEmbedder() {}

void MessagePortDescriptor::GiveDisentangledHandle(
    mojo::ScopedMessagePipeHandle handle) {}

MessagePortDescriptor::MessagePortDescriptor(
    mojo::ScopedMessagePipeHandle handle)
    :{}

void MessagePortDescriptor::NotifyAttached(
    ExecutionContext* execution_context) {}

void MessagePortDescriptor::NotifyAttachedToEmbedder() {}

void MessagePortDescriptor::NotifyDetached() {}

void MessagePortDescriptor::NotifyDestroyed() {}

void MessagePortDescriptor::EnsureNotSerialized() const {}

void MessagePortDescriptor::EnsureValidSerializationState() const {}

MessagePortDescriptorPair::MessagePortDescriptorPair() {}

MessagePortDescriptorPair::~MessagePortDescriptorPair() = default;

}  // namespace blink