// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40284755): Remove this and spanify to fix the errors. #pragma allow_unsafe_buffers #endif #ifndef BASE_FILES_DIR_READER_LINUX_H_ #define BASE_FILES_DIR_READER_LINUX_H_ #include <errno.h> #include <fcntl.h> #include <stddef.h> #include <stdint.h> #include <string.h> #include <sys/syscall.h> #include <unistd.h> #include "base/logging.h" #include "base/posix/eintr_wrapper.h" // See the comments in dir_reader_posix.h about this. namespace base { struct linux_dirent { … }; class DirReaderLinux { … }; } // namespace base #endif // BASE_FILES_DIR_READER_LINUX_H_