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

Unified Diff: runtime/bin/platform.h

Issue 1334353002: - Add getters for the current packageRoot or packageMap. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/bin/platform.h
diff --git a/runtime/bin/platform.h b/runtime/bin/platform.h
index 3d3c0f3135c842a1b793b5017a0c556c94d1d69d..03c8369c53f23cbe1280131813b33e16bddba4e1 100644
--- a/runtime/bin/platform.h
+++ b/runtime/bin/platform.h
@@ -56,14 +56,6 @@ class Platform {
return resolved_executable_name_;
}
- // Stores and gets the package root.
- static void SetPackageRoot(const char* package_root) {
- package_root_ = package_root;
- }
- static const char* GetPackageRoot() {
- return package_root_;
- }
-
// Stores and gets the flags passed to the executable.
static void SetExecutableArguments(int script_index, char** argv) {
script_index_ = script_index;
@@ -82,7 +74,6 @@ class Platform {
// The path to the resolved executable.
static const char* resolved_executable_name_;
- static const char* package_root_;
static int script_index_;
static char** argv_; // VM flags are argv_[1 ... script_index_ - 1]

Powered by Google App Engine
This is Rietveld 408576698