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

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

Issue 9114008: Introduce runtime/platform directory for code shared between vm (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Windows fixes. Created 8 years, 11 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_DIRECTORY_H_ 5 #ifndef BIN_DIRECTORY_H_
6 #define BIN_DIRECTORY_H_ 6 #define BIN_DIRECTORY_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/globals.h" 9
10 #include "platform/globals.h"
10 11
11 class Directory { 12 class Directory {
12 public: 13 public:
13 enum ExistsResult { 14 enum ExistsResult {
14 UNKNOWN, 15 UNKNOWN,
15 EXISTS, 16 EXISTS,
16 DOES_NOT_EXIST 17 DOES_NOT_EXIST
17 }; 18 };
18 19
19 static void List(const char* path, 20 static void List(const char* path,
(...skipping 12 matching lines...) Expand all
32 char* os_error_message, 33 char* os_error_message,
33 int os_error_message_len); 34 int os_error_message_len);
34 35
35 static bool Delete(const char* path); 36 static bool Delete(const char* path);
36 37
37 DISALLOW_ALLOCATION(); 38 DISALLOW_ALLOCATION();
38 DISALLOW_IMPLICIT_CONSTRUCTORS(Directory); 39 DISALLOW_IMPLICIT_CONSTRUCTORS(Directory);
39 }; 40 };
40 41
41 #endif // BIN_DIRECTORY_H_ 42 #endif // BIN_DIRECTORY_H_
OLDNEW
« no previous file with comments | « runtime/bin/dartutils.cc ('k') | runtime/bin/fdutils.h » ('j') | runtime/platform/globals.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698