// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MOJO_PUBLIC_CPP_BASE_FILE_ERROR_MOJOM_TRAITS_H_ #define MOJO_PUBLIC_CPP_BASE_FILE_ERROR_MOJOM_TRAITS_H_ #include "base/files/file.h" #include "base/notreached.h" #include "mojo/public/mojom/base/file_error.mojom-shared.h" namespace mojo { template <> struct EnumTraits<mojo_base::mojom::FileError, base::File::Error> { … }; } // namespace mojo #endif // MOJO_PUBLIC_CPP_BASE_FILE_ERROR_MOJOM_TRAITS_H_