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

Side by Side Diff: runtime/vm/bootstrap.cc

Issue 1381033002: Add data-URI support class to dart:core (next to Uri). (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Added library now working (thanks fschneider). Back to the main content. Created 5 years, 1 month 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
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 #include "vm/bootstrap.h" 5 #include "vm/bootstrap.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 8
9 #include "vm/bootstrap_natives.h" 9 #include "vm/bootstrap_natives.h"
10 #include "vm/class_finalizer.h" 10 #include "vm/class_finalizer.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 Bootstrap::math_source_paths_, 64 Bootstrap::math_source_paths_,
65 Bootstrap::math_patch_paths_), 65 Bootstrap::math_patch_paths_),
66 INIT_LIBRARY(ObjectStore::kMirrors, 66 INIT_LIBRARY(ObjectStore::kMirrors,
67 mirrors, 67 mirrors,
68 Bootstrap::mirrors_source_paths_, 68 Bootstrap::mirrors_source_paths_,
69 Bootstrap::mirrors_patch_paths_), 69 Bootstrap::mirrors_patch_paths_),
70 INIT_LIBRARY(ObjectStore::kTypedData, 70 INIT_LIBRARY(ObjectStore::kTypedData,
71 typed_data, 71 typed_data,
72 Bootstrap::typed_data_source_paths_, 72 Bootstrap::typed_data_source_paths_,
73 Bootstrap::typed_data_patch_paths_), 73 Bootstrap::typed_data_patch_paths_),
74 INIT_LIBRARY(ObjectStore::kUri,
75 uri,
76 Bootstrap::uri_source_paths_,
77 Bootstrap::uri_patch_paths_),
74 INIT_LIBRARY(ObjectStore::kVMService, 78 INIT_LIBRARY(ObjectStore::kVMService,
75 _vmservice, 79 _vmservice,
76 Bootstrap::_vmservice_source_paths_, 80 Bootstrap::_vmservice_source_paths_,
77 Bootstrap::_vmservice_patch_paths_), 81 Bootstrap::_vmservice_patch_paths_),
78 { ObjectStore::kNone, NULL, NULL, NULL, NULL } 82 { ObjectStore::kNone, NULL, NULL, NULL, NULL }
79 }; 83 };
80 84
81 85
82 static RawString* GetLibrarySource(const Library& lib, 86 static RawString* GetLibrarySource(const Library& lib,
83 const String& uri, 87 const String& uri,
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 Compiler::CompileClass(cls); 338 Compiler::CompileClass(cls);
335 } 339 }
336 340
337 // Restore the library tag handler for the isolate. 341 // Restore the library tag handler for the isolate.
338 isolate->set_library_tag_handler(saved_tag_handler); 342 isolate->set_library_tag_handler(saved_tag_handler);
339 343
340 return error.raw(); 344 return error.raw();
341 } 345 }
342 346
343 } // namespace dart 347 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap.h ('k') | runtime/vm/bootstrap_natives.cc » ('j') | sdk/lib/uri/uri.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698