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

Unified Diff: runtime/bin/main.cc

Issue 2486443002: Add an environment variable toggle to control new service protocol auth token (Closed)
Patch Set: Add a test Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/observatory/tests/service/auth_token_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 46660778468927c9ac5a04ddbac79c6a3f164468..bd1e6affac4230458b7aebe253dcf0a84543837f 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -832,6 +832,8 @@ static Dart_Isolate CreateIsolateAndSetupHelper(const char* script_uri,
result = Dart_CompileAll();
CHECK_RESULT(result);
}
+ result = Dart_SetEnvironmentCallback(EnvironmentCallback);
+ CHECK_RESULT(result);
Dart_ExitScope();
Dart_ExitIsolate();
return isolate;
« no previous file with comments | « no previous file | runtime/observatory/tests/service/auth_token_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698