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

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

Issue 1137853002: - Refactor builtin.dart before any further work in this file. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 7 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 #include "include/dart_native_api.h" 9 #include "include/dart_native_api.h"
10 10
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 static Dart_Handle NewError(const char* format, ...); 174 static Dart_Handle NewError(const char* format, ...);
175 static Dart_Handle NewInternalError(const char* message); 175 static Dart_Handle NewInternalError(const char* message);
176 176
177 static bool SetOriginalWorkingDirectory(); 177 static bool SetOriginalWorkingDirectory();
178 178
179 static const char* MapLibraryUrl(CommandLineOptions* url_mapping, 179 static const char* MapLibraryUrl(CommandLineOptions* url_mapping,
180 const char* url_string); 180 const char* url_string);
181 181
182 static Dart_Handle SetWorkingDirectory(Dart_Handle builtin_lib); 182 static Dart_Handle SetWorkingDirectory(Dart_Handle builtin_lib);
183 183
184 static Dart_Handle ResolveScriptUri(Dart_Handle script_uri, 184 static Dart_Handle ResolveUriInWorkingDirectory(Dart_Handle script_uri,
185 Dart_Handle builtin_lib); 185 Dart_Handle builtin_lib);
186 186
187 static Dart_Handle FilePathFromUri(Dart_Handle script_uri, 187 static Dart_Handle FilePathFromUri(Dart_Handle script_uri,
188 Dart_Handle builtin_lib); 188 Dart_Handle builtin_lib);
189 189
190 static Dart_Handle ExtensionPathFromUri(Dart_Handle extension_uri, 190 static Dart_Handle ExtensionPathFromUri(Dart_Handle extension_uri,
191 Dart_Handle builtin_lib); 191 Dart_Handle builtin_lib);
192 192
193 static Dart_Handle ResolveUri(Dart_Handle library_url, 193 static Dart_Handle ResolveUri(Dart_Handle library_url,
194 Dart_Handle url, 194 Dart_Handle url,
195 Dart_Handle builtin_lib); 195 Dart_Handle builtin_lib);
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 579
580 ~ScopedBlockingCall() { 580 ~ScopedBlockingCall() {
581 Dart_IsolateUnblocked(); 581 Dart_IsolateUnblocked();
582 } 582 }
583 }; 583 };
584 584
585 } // namespace bin 585 } // namespace bin
586 } // namespace dart 586 } // namespace dart
587 587
588 #endif // BIN_DARTUTILS_H_ 588 #endif // BIN_DARTUTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698