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

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

Issue 16368002: Make implicit things explicit when loading scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_DARTUTILS_H_ 5 #ifndef BIN_DARTUTILS_H_
6 #define BIN_DARTUTILS_H_ 6 #define BIN_DARTUTILS_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 } 155 }
156 156
157 // Create a new Dart InternalError object with the provided message. 157 // Create a new Dart InternalError object with the provided message.
158 static Dart_Handle NewInternalError(const char* message); 158 static Dart_Handle NewInternalError(const char* message);
159 159
160 static void SetOriginalWorkingDirectory(); 160 static void SetOriginalWorkingDirectory();
161 161
162 static const char* MapLibraryUrl(CommandLineOptions* url_mapping, 162 static const char* MapLibraryUrl(CommandLineOptions* url_mapping,
163 const char* url_string); 163 const char* url_string);
164 164
165 static Dart_Handle SetWorkingDirectory(Dart_Handle builtin_lib);
166
165 static Dart_Handle ResolveScriptUri(Dart_Handle script_uri, 167 static Dart_Handle ResolveScriptUri(Dart_Handle script_uri,
166 Dart_Handle builtin_lib); 168 Dart_Handle builtin_lib);
167 169
168 static Dart_Handle FilePathFromUri(Dart_Handle script_uri, 170 static Dart_Handle FilePathFromUri(Dart_Handle script_uri,
169 Dart_Handle builtin_lib); 171 Dart_Handle builtin_lib);
170 172
171 static Dart_Handle ResolveUri(Dart_Handle library_url, 173 static Dart_Handle ResolveUri(Dart_Handle library_url,
172 Dart_Handle url, 174 Dart_Handle url,
173 Dart_Handle builtin_lib); 175 Dart_Handle builtin_lib);
174 176
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 } 509 }
508 510
509 private: 511 private:
510 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); 512 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array);
511 }; 513 };
512 514
513 } // namespace bin 515 } // namespace bin
514 } // namespace dart 516 } // namespace dart
515 517
516 #endif // BIN_DARTUTILS_H_ 518 #endif // BIN_DARTUTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698