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

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

Issue 8879058: Change temp dir generation on Windows to use UUIDs instead of random numbers (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix test Created 9 years 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
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/directory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "bin/globals.h"
10 10
(...skipping 10 matching lines...) Expand all
21 Dart_Port dir_port, 21 Dart_Port dir_port,
22 Dart_Port file_port, 22 Dart_Port file_port,
23 Dart_Port done_port, 23 Dart_Port done_port,
24 Dart_Port error_port); 24 Dart_Port error_port);
25 25
26 static ExistsResult Exists(const char* path); 26 static ExistsResult Exists(const char* path);
27 27
28 static bool Create(const char* path); 28 static bool Create(const char* path);
29 29
30 static int CreateTemp(const char* const_template, 30 static int CreateTemp(const char* const_template,
31 int64_t number,
32 char** path, 31 char** path,
33 char* os_error_message, 32 char* os_error_message,
34 int os_error_message_len); 33 int os_error_message_len);
35 34
36 static bool Delete(const char* path); 35 static bool Delete(const char* path);
37 36
38 DISALLOW_ALLOCATION(); 37 DISALLOW_ALLOCATION();
39 DISALLOW_IMPLICIT_CONSTRUCTORS(Directory); 38 DISALLOW_IMPLICIT_CONSTRUCTORS(Directory);
40 }; 39 };
41 40
42 #endif // BIN_DIRECTORY_H_ 41 #endif // BIN_DIRECTORY_H_
OLDNEW
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/directory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698