blob: 4f5a8e8df9d0a4cb4298f6afc01e78d8df4c653d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ipc/handle_attachment_fuchsia.h"
#include <zircon/syscalls.h>
#include <zircon/types.h>
#include "base/fuchsia/fuchsia_logging.h"
namespace IPC {
namespace internal {
HandleAttachmentFuchsia::HandleAttachmentFuchsia(zx::handle handle)
: handle_(std::move(handle)) {}
HandleAttachmentFuchsia::~HandleAttachmentFuchsia() {}
MessageAttachment::Type HandleAttachmentFuchsia::GetType() const {
return Type::FUCHSIA_HANDLE;
}
} // namespace internal
} // namespace IPC
|