OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef BIN_FILE_H_ | 5 #ifndef BIN_FILE_H_ |
6 #define BIN_FILE_H_ | 6 #define BIN_FILE_H_ |
7 | 7 |
| 8 #include <stdio.h> |
8 #include <stdlib.h> | 9 #include <stdlib.h> |
9 #include <string.h> | 10 #include <string.h> |
10 #include <stdio.h> | |
11 #include <sys/types.h> | 11 #include <sys/types.h> |
12 | 12 |
13 #include "bin/builtin.h" | 13 #include "bin/builtin.h" |
14 #include "bin/dartutils.h" | 14 #include "bin/dartutils.h" |
15 | 15 |
16 namespace dart { | 16 namespace dart { |
17 namespace bin { | 17 namespace bin { |
18 | 18 |
19 // Forward declaration. | 19 // Forward declaration. |
20 class FileHandle; | 20 class FileHandle; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 // FileHandle is an OS specific class which stores data about the file. | 200 // FileHandle is an OS specific class which stores data about the file. |
201 FileHandle* handle_; // OS specific handle for the file. | 201 FileHandle* handle_; // OS specific handle for the file. |
202 | 202 |
203 DISALLOW_COPY_AND_ASSIGN(File); | 203 DISALLOW_COPY_AND_ASSIGN(File); |
204 }; | 204 }; |
205 | 205 |
206 } // namespace bin | 206 } // namespace bin |
207 } // namespace dart | 207 } // namespace dart |
208 | 208 |
209 #endif // BIN_FILE_H_ | 209 #endif // BIN_FILE_H_ |
OLD | NEW |