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

Side by Side Diff: runtime/vm/object.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/object.h" 5 #include "vm/object.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 10352 matching lines...) Expand 10 before | Expand all | Expand 10 after
10363 10363
10364 RawLibrary* Library::NativeWrappersLibrary() { 10364 RawLibrary* Library::NativeWrappersLibrary() {
10365 return Isolate::Current()->object_store()->native_wrappers_library(); 10365 return Isolate::Current()->object_store()->native_wrappers_library();
10366 } 10366 }
10367 10367
10368 10368
10369 RawLibrary* Library::TypedDataLibrary() { 10369 RawLibrary* Library::TypedDataLibrary() {
10370 return Isolate::Current()->object_store()->typed_data_library(); 10370 return Isolate::Current()->object_store()->typed_data_library();
10371 } 10371 }
10372 10372
10373 RawLibrary* Library::UriLibrary() {
10374 return Isolate::Current()->object_store()->uri_library();
10375 }
10373 10376
10374 RawLibrary* Library::VMServiceLibrary() { 10377 RawLibrary* Library::VMServiceLibrary() {
10375 return Isolate::Current()->object_store()->vmservice_library(); 10378 return Isolate::Current()->object_store()->vmservice_library();
10376 } 10379 }
10377 10380
10378 10381
10379 const char* Library::ToCString() const { 10382 const char* Library::ToCString() const {
10380 const String& name = String::Handle(url()); 10383 const String& name = String::Handle(url());
10381 return OS::SCreate(Thread::Current()->zone(), 10384 return OS::SCreate(Thread::Current()->zone(),
10382 "Library:'%s'", name.ToCString()); 10385 "Library:'%s'", name.ToCString());
(...skipping 11373 matching lines...) Expand 10 before | Expand all | Expand 10 after
21756 return tag_label.ToCString(); 21759 return tag_label.ToCString();
21757 } 21760 }
21758 21761
21759 21762
21760 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 21763 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
21761 Instance::PrintJSONImpl(stream, ref); 21764 Instance::PrintJSONImpl(stream, ref);
21762 } 21765 }
21763 21766
21764 21767
21765 } // namespace dart 21768 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/object_store.h » ('j') | sdk/lib/uri/uri.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698