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

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

Issue 2998373002: [dart:io] Move _getUriBaseClosure to dart:io (Closed)
Patch Set: Created 3 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
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/dartutils.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) 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 RUNTIME_BIN_DARTUTILS_H_ 5 #ifndef RUNTIME_BIN_DARTUTILS_H_
6 #define RUNTIME_BIN_DARTUTILS_H_ 6 #define RUNTIME_BIN_DARTUTILS_H_
7 7
8 #include "bin/isolate_data.h" 8 #include "bin/isolate_data.h"
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 #include "include/dart_native_api.h" 10 #include "include/dart_native_api.h"
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 233
234 static Dart_Handle LibraryFilePath(Dart_Handle library_uri); 234 static Dart_Handle LibraryFilePath(Dart_Handle library_uri);
235 235
236 private: 236 private:
237 static Dart_Handle SetWorkingDirectory(); 237 static Dart_Handle SetWorkingDirectory();
238 static Dart_Handle PrepareBuiltinLibrary(Dart_Handle builtin_lib, 238 static Dart_Handle PrepareBuiltinLibrary(Dart_Handle builtin_lib,
239 Dart_Handle internal_lib, 239 Dart_Handle internal_lib,
240 bool is_service_isolate, 240 bool is_service_isolate,
241 bool trace_loading); 241 bool trace_loading);
242 static Dart_Handle PrepareCoreLibrary(Dart_Handle core_lib, 242 static Dart_Handle PrepareCoreLibrary(Dart_Handle core_lib,
243 Dart_Handle builtin_lib, 243 Dart_Handle io_lib,
244 bool is_service_isolate); 244 bool is_service_isolate);
245 static Dart_Handle PrepareAsyncLibrary(Dart_Handle async_lib, 245 static Dart_Handle PrepareAsyncLibrary(Dart_Handle async_lib,
246 Dart_Handle isolate_lib); 246 Dart_Handle isolate_lib);
247 static Dart_Handle PrepareIOLibrary(Dart_Handle io_lib); 247 static Dart_Handle PrepareIOLibrary(Dart_Handle io_lib);
248 static Dart_Handle PrepareIsolateLibrary(Dart_Handle isolate_lib); 248 static Dart_Handle PrepareIsolateLibrary(Dart_Handle isolate_lib);
249 249
250 DISALLOW_ALLOCATION(); 250 DISALLOW_ALLOCATION();
251 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils); 251 DISALLOW_IMPLICIT_CONSTRUCTORS(DartUtils);
252 }; 252 };
253 253
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 bool is_typed_data_; 637 bool is_typed_data_;
638 638
639 DISALLOW_ALLOCATION(); 639 DISALLOW_ALLOCATION();
640 DISALLOW_COPY_AND_ASSIGN(ScopedMemBuffer); 640 DISALLOW_COPY_AND_ASSIGN(ScopedMemBuffer);
641 }; 641 };
642 642
643 } // namespace bin 643 } // namespace bin
644 } // namespace dart 644 } // namespace dart
645 645
646 #endif // RUNTIME_BIN_DARTUTILS_H_ 646 #endif // RUNTIME_BIN_DARTUTILS_H_
OLDNEW
« no previous file with comments | « runtime/bin/builtin_natives.cc ('k') | runtime/bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698