| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 BASE_FILE_DESCRIPTOR_POSIX_H_ | 5 #ifndef BASE_FILE_DESCRIPTOR_POSIX_H_ |
| 6 #define BASE_FILE_DESCRIPTOR_POSIX_H_ | 6 #define BASE_FILE_DESCRIPTOR_POSIX_H_ |
| 7 | 7 |
| 8 namespace base { | 8 namespace base { |
| 9 | 9 |
| 10 // ----------------------------------------------------------------------------- | 10 // ----------------------------------------------------------------------------- |
| 11 // We introduct a special structure for file descriptors in order that we are | 11 // We introduct a special structure for file descriptors in order that we are |
| (...skipping 24 matching lines...) Expand all Loading... |
| 36 int fd; | 36 int fd; |
| 37 // If true, this file descriptor should be closed after it has been used. For | 37 // If true, this file descriptor should be closed after it has been used. For |
| 38 // example an IPC system might interpret this flag as indicating that the | 38 // example an IPC system might interpret this flag as indicating that the |
| 39 // file descriptor it has been given should be closed after use. | 39 // file descriptor it has been given should be closed after use. |
| 40 bool auto_close; | 40 bool auto_close; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace base | 43 } // namespace base |
| 44 | 44 |
| 45 #endif // BASE_FILE_DESCRIPTOR_POSIX_H_ | 45 #endif // BASE_FILE_DESCRIPTOR_POSIX_H_ |
| OLD | NEW |