Index: chrome/test/webdriver/commands/command.h |
diff --git a/chrome/test/webdriver/commands/command.h b/chrome/test/webdriver/commands/command.h |
index 6d060332199c55a17600b449ac3ef49e82920c1a..76d9783ab5d90b4275d9b8899422455c4ddb2f5b 100644 |
--- a/chrome/test/webdriver/commands/command.h |
+++ b/chrome/test/webdriver/commands/command.h |
@@ -76,6 +76,11 @@ class Command { |
// false if there is no such parameter, or if it is not a int. |
bool GetIntegerParameter(const std::string& key, int* out) const; |
+ // Returns the command parameter with the given |key| as a Dictionary. |
+ // Returns false if there is no such parameter, or if it is not a Dictionary. |
+ bool GetDictionaryParameter(const std::string& key, |
+ DictionaryValue** out) const; |
+ |
private: |
const std::vector<std::string> path_segments_; |
const scoped_ptr<const DictionaryValue> parameters_; |