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

Unified Diff: runtime/vm/object_store.h

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, 2 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index 8fd89294577606833fbfd752459e560c2e366c7d..f40eafda0ec3d79a4148153d69d32e52821a3fc0 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -31,6 +31,7 @@ class ObjectStore {
kMath,
kMirrors,
kTypedData,
+ kUri,
kVMService,
};
@@ -264,6 +265,7 @@ class ObjectStore {
RawLibrary* math_library() const { return math_library_; }
RawLibrary* mirrors_library() const { return mirrors_library_; }
RawLibrary* typed_data_library() const { return typed_data_library_; }
+ RawLibrary* uri_library() const { return uri_library_; }
RawLibrary* vmservice_library() const { return vmservice_library_; }
void set_bootstrap_library(BootstrapLibraryId index, const Library& value) {
@@ -298,6 +300,9 @@ class ObjectStore {
case kTypedData:
typed_data_library_ = value.raw();
break;
+ case kUri:
+ uri_library_ = value.raw();
+ break;
case kVMService:
vmservice_library_ = value.raw();
break;
@@ -515,6 +520,7 @@ class ObjectStore {
RawLibrary* native_wrappers_library_;
RawLibrary* root_library_;
RawLibrary* typed_data_library_;
+ RawLibrary* uri_library_;
RawLibrary* vmservice_library_;
RawGrowableObjectArray* libraries_;
RawGrowableObjectArray* pending_classes_;
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | sdk/lib/uri/uri.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698