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

Unified Diff: runtime/bin/embedded_dart_io.h

Issue 2662393002: Export SetExecutableName/Arguments for use by embedders
Patch Set: Created 3 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
« no previous file with comments | « no previous file | runtime/bin/embedded_dart_io.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/embedded_dart_io.h
diff --git a/runtime/bin/embedded_dart_io.h b/runtime/bin/embedded_dart_io.h
index 84f5aa4af3ee22c395ad6185c44b8af38546ac3e..9ce24b9eea219e93cae04098912b658722af1367 100644
--- a/runtime/bin/embedded_dart_io.h
+++ b/runtime/bin/embedded_dart_io.h
@@ -27,6 +27,12 @@ bool ShouldCaptureStdout();
// Should Stderr events be captured?
bool ShouldCaptureStderr();
+// Set the executable name used by Platform.executable.
+void SetExecutableName(const char* executable_name);
+
+// Set the arguments used by Platform.executableArguments.
+void SetExecutableArguments(int script_index, char** argv);
+
} // namespace bin
} // namespace dart
« no previous file with comments | « no previous file | runtime/bin/embedded_dart_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698