[go: nahoru, domu]

blob: 43eb0e43b7821484695b5797aad1f9374a3f28ef [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_FUSEBOX_FUSEBOX_ERRNO_H_
#define CHROME_BROWSER_ASH_FUSEBOX_FUSEBOX_ERRNO_H_
#include "base/files/file.h"
namespace fusebox {
// Returns errno code for a base::File::Error |error| code.
int FileErrorToErrno(base::File::Error error);
// Returns errno code for a net:: |error| code.
int NetErrorToErrno(int error);
} // namespace fusebox
#endif // CHROME_BROWSER_ASH_FUSEBOX_FUSEBOX_ERRNO_H_