Index: runtime/vm/json_stream.h |
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h |
index 6b71a9d7e56ea0b91b44a2a4d24891c966419e61..ab0679962d758f9f30dcc866f477eb16a6254d53 100644 |
--- a/runtime/vm/json_stream.h |
+++ b/runtime/vm/json_stream.h |
@@ -56,6 +56,12 @@ class JSONStream : ValueObject { |
const char* LookupOption(const char* key) const; |
+ bool HasOption(const char* key) const; |
+ |
+ // Returns true if there is an option with key and value, false |
+ // otherwise. |
+ bool OptionIs(const char* key, const char* value) const; |
+ |
const char* command() const { return command_; } |
const char** arguments() const { return arguments_; } |
const char** option_keys() const { return option_keys_; } |