| // Copyright 2022 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 "reference_drivers/wrapped_file_descriptor.h" |
| |
| #include "third_party/abseil-cpp/absl/base/macros.h" |
| #include "util/ref_counted.h" |
| |
| namespace ipcz::reference_drivers { |
| |
| WrappedFileDescriptor::WrappedFileDescriptor(FileDescriptor fd) |
| : fd_(std::move(fd)) {} |
| |
| WrappedFileDescriptor::~WrappedFileDescriptor() = default; |
| |
| } // namespace ipcz::reference_drivers |