Index: chrome/test/webdriver/commands/command.h |
diff --git a/chrome/test/webdriver/commands/command.h b/chrome/test/webdriver/commands/command.h |
index 6b3f69292dbf808eb6dd7e7a394b1d416bdafb69..078ed383b16658b131133915b149608fccc2adeb 100644 |
--- a/chrome/test/webdriver/commands/command.h |
+++ b/chrome/test/webdriver/commands/command.h |
@@ -54,6 +54,10 @@ class Command { |
return i < path_segments_.size() ? path_segments_.at(i) : ""; |
} |
+ // Returns true if the command parameter with the given |key| exists and is |
+ // a null value. |
+ bool IsNullParameter(const std::string& key) const; |
+ |
// Returns the command parameter with the given |key| as a UTF-16 string. |
// Returns true on success. |
bool GetStringParameter(const std::string& key, string16* out) const; |
@@ -95,4 +99,3 @@ class Command { |
} // namespace webdriver |
#endif // CHROME_TEST_WEBDRIVER_COMMANDS_COMMAND_H_ |
- |