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

Unified Diff: runtime/vm/flags.h

Issue 8713012: Introduce Dart_SetVMFlags API function. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Comments addressed. Created 9 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 | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flags.h
diff --git a/runtime/vm/flags.h b/runtime/vm/flags.h
index 23a9ed1c6130e035c264cad7ff14483b41be4244..00339d19b6426689c518521e5d50ec557faa1b95 100644
--- a/runtime/vm/flags.h
+++ b/runtime/vm/flags.h
@@ -51,13 +51,17 @@ class Flags {
const char* default_value,
const char* comment);
- static void ProcessCommandLineFlags(int argc, const char** argv);
+ static bool ProcessCommandLineFlags(int argc, const char** argv);
static Flag* Lookup(const char* name);
+ static bool Initialized() { return initialized_; }
+
private:
static Flag* flags_;
+ static bool initialized_;
+
static void Parse(const char* option);
// Testing needs direct access to private methods.
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698