| OLD | NEW |
| 1 // Copyright 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MINI_CHROMIUM_BASE_FILE_UTIL_H_ | 5 #ifndef MINI_CHROMIUM_BASE_FILE_UTIL_H_ |
| 6 #define MINI_CHROMIUM_BASE_FILE_UTIL_H_ | 6 #define MINI_CHROMIUM_BASE_FILE_UTIL_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" |
| 9 |
| 10 #if defined(OS_POSIX) |
| 11 |
| 8 #include <sys/types.h> | 12 #include <sys/types.h> |
| 9 | 13 |
| 10 namespace base { | 14 namespace base { |
| 11 | 15 |
| 12 bool ReadFromFD(int fd, char* buffer, size_t bytes); | 16 bool ReadFromFD(int fd, char* buffer, size_t bytes); |
| 13 | 17 |
| 14 } // namespace base | 18 } // namespace base |
| 15 | 19 |
| 20 #endif // OS_POSIX |
| 21 |
| 16 #endif // MINI_CHROMIUM_BASE_FILE_UTIL_H_ | 22 #endif // MINI_CHROMIUM_BASE_FILE_UTIL_H_ |
| OLD | NEW |