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

Unified Diff: runtime/vm/dart_api_impl.h

Issue 1640853004: Support 'dart.library.X' env variables in the VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Two new lines between functions. Created 4 years, 11 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/dart_api_impl.h
diff --git a/runtime/vm/dart_api_impl.h b/runtime/vm/dart_api_impl.h
index 6172e1a9433fbc74a0133ff214db0698fdcf2fdc..bce88016f6a6698e3b85c19e413b7a7a0ad8ff30 100644
--- a/runtime/vm/dart_api_impl.h
+++ b/runtime/vm/dart_api_impl.h
@@ -253,12 +253,13 @@ class Api : AllStatic {
static void SetWeakHandleReturnValue(NativeArguments* args,
Dart_WeakPersistentHandle retval);
- static RawString* CallEnvironmentCallback(Thread* thread,
- const String& name);
+ static RawString* GetEnvironmentValue(Thread* thread, const String& name);
private:
static Dart_Handle InitNewHandle(Thread* thread, RawObject* raw);
+ static RawString* CallEnvironmentCallback(Thread* thread, const String& name);
+
// Thread local key used by the API. Currently holds the current
// ApiNativeScope if any.
static ThreadLocalKey api_native_key_;
« no previous file with comments | « runtime/lib/string.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | runtime/vm/dart_api_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698