Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Side by Side Diff: runtime/bin/file.h

Issue 463993002: - Separate the thread implementation used in bin/ and vm/ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <stdlib.h> 8 #include <stdlib.h>
9 #include <string.h> 9 #include <string.h>
10 #include <stdio.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 #include "platform/globals.h"
16 #include "platform/thread.h"
17 15
18 16
19 namespace dart { 17 namespace dart {
20 namespace bin { 18 namespace bin {
21 19
22 // Forward declaration. 20 // Forward declaration.
23 class FileHandle; 21 class FileHandle;
24 22
25 class File { 23 class File {
26 public: 24 public:
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // FileHandle is an OS specific class which stores data about the file. 178 // FileHandle is an OS specific class which stores data about the file.
181 FileHandle* handle_; // OS specific handle for the file. 179 FileHandle* handle_; // OS specific handle for the file.
182 180
183 DISALLOW_COPY_AND_ASSIGN(File); 181 DISALLOW_COPY_AND_ASSIGN(File);
184 }; 182 };
185 183
186 } // namespace bin 184 } // namespace bin
187 } // namespace dart 185 } // namespace dart
188 186
189 #endif // BIN_FILE_H_ 187 #endif // BIN_FILE_H_
OLDNEW
« no previous file with comments | « runtime/bin/eventhandler_win.cc ('k') | runtime/bin/file.cc » ('j') | runtime/bin/io_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698