chromium/third_party/blink/common/messaging/message_port_channel.cc

// Copyright 2017 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_channel.h"

#include "base/memory/ref_counted.h"
#include "base/synchronization/lock.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "third_party/blink/public/common/messaging/message_port_descriptor.h"

namespace blink {

class MessagePortChannel::State : public base::RefCountedThreadSafe<State> {};

MessagePortChannel::~MessagePortChannel() = default;

MessagePortChannel::MessagePortChannel() :{}

MessagePortChannel::MessagePortChannel(const MessagePortChannel& other) =
    default;

MessagePortChannel& MessagePortChannel::operator=(
    const MessagePortChannel& other) {}

MessagePortChannel::MessagePortChannel(MessagePortDescriptor handle)
    :{}

const MessagePortDescriptor& MessagePortChannel::GetHandle() const {}

MessagePortDescriptor MessagePortChannel::ReleaseHandle() const {}

// static
std::vector<MessagePortDescriptor> MessagePortChannel::ReleaseHandles(
    const std::vector<MessagePortChannel>& ports) {}

// static
std::vector<MessagePortChannel> MessagePortChannel::CreateFromHandles(
    std::vector<MessagePortDescriptor> handles) {}

MessagePortChannel::State::State() = default;

MessagePortChannel::State::State(MessagePortDescriptor handle)
    :{}

MessagePortDescriptor MessagePortChannel::State::TakeHandle() {}

MessagePortChannel::State::~State() = default;

}  // namespace blink