mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
26 lines
578 B
C
26 lines
578 B
C
|
// Copyright 2018 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.
|
||
|
|
||
|
#ifndef BASE_FUCHSIA_FILE_UTILS_H_
|
||
|
#define BASE_FUCHSIA_FILE_UTILS_H_
|
||
|
|
||
|
#include <lib/zx/handle.h>
|
||
|
|
||
|
#include "base/base_export.h"
|
||
|
|
||
|
namespace base {
|
||
|
|
||
|
class File;
|
||
|
|
||
|
namespace fuchsia {
|
||
|
|
||
|
// Gets a Zircon handle from a file or directory |path| in the process'
|
||
|
// namespace.
|
||
|
BASE_EXPORT zx::handle GetHandleFromFile(base::File file);
|
||
|
|
||
|
} // namespace fuchsia
|
||
|
} // namespace base
|
||
|
|
||
|
#endif // BASE_FUCHSIA_FILE_UTILS_H_
|