blob: 4f5a8e8df9d0a4cb4298f6afc01e78d8df4c653d [file] [log] [blame]
Scott Graham3eebff02017-06-30 01:07:101// Copyright 2017 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "ipc/handle_attachment_fuchsia.h"
6
Scott Grahamfe0e9f462017-09-18 21:25:047#include <zircon/syscalls.h>
8#include <zircon/types.h>
Scott Graham3eebff02017-06-30 01:07:109
Wezbfbca082018-06-15 02:52:0710#include "base/fuchsia/fuchsia_logging.h"
11
Scott Graham3eebff02017-06-30 01:07:1012namespace IPC {
13namespace internal {
14
Wez157707d62018-07-10 22:48:4715HandleAttachmentFuchsia::HandleAttachmentFuchsia(zx::handle handle)
Wez71a6a8e2017-08-28 19:38:0516 : handle_(std::move(handle)) {}
Scott Graham3eebff02017-06-30 01:07:1017
Wez8c49ebc92017-08-10 17:11:1318HandleAttachmentFuchsia::~HandleAttachmentFuchsia() {}
Scott Graham3eebff02017-06-30 01:07:1019
20MessageAttachment::Type HandleAttachmentFuchsia::GetType() const {
21 return Type::FUCHSIA_HANDLE;
22}
23
24} // namespace internal
25} // namespace IPC