chromium/ipc/ipc_message_attachment_set.cc

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ipc/ipc_message_attachment_set.h"

#include <stddef.h>

#include <algorithm>

#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
#include "build/build_config.h"
#include "ipc/ipc_message_attachment.h"

namespace IPC {

namespace {

unsigned count_attachments_of_type(
    const std::vector<scoped_refptr<MessageAttachment>>& attachments,
    MessageAttachment::Type type) {}

}  // namespace

MessageAttachmentSet::MessageAttachmentSet()
    :{}

MessageAttachmentSet::~MessageAttachmentSet() {}

unsigned MessageAttachmentSet::num_descriptors() const {}

unsigned MessageAttachmentSet::size() const {}

bool MessageAttachmentSet::AddAttachment(
    scoped_refptr<MessageAttachment> attachment,
    size_t* index) {}

bool MessageAttachmentSet::AddAttachment(
    scoped_refptr<MessageAttachment> attachment) {}

scoped_refptr<MessageAttachment> MessageAttachmentSet::GetAttachmentAt(
    unsigned index) {}

void MessageAttachmentSet::CommitAllDescriptors() {}

}  // namespace IPC