Index: chrome/test/webdriver/commands/command.cc |
diff --git a/chrome/test/webdriver/commands/command.cc b/chrome/test/webdriver/commands/command.cc |
index 68a0cdbe09e132d5789bea2a49743816326d80c1..29ea60f8a570d0aceffab14e71b2dd79efe94f1d 100644 |
--- a/chrome/test/webdriver/commands/command.cc |
+++ b/chrome/test/webdriver/commands/command.cc |
@@ -65,6 +65,11 @@ bool Command::GetIntegerParameter(const std::string& key, |
return parameters_.get() != NULL && parameters_->GetInteger(key, out); |
} |
+bool Command::GetDictionaryParameter(const std::string& key, |
+ DictionaryValue** out) const { |
+ return parameters_.get() != NULL && parameters_->GetDictionary(key, out); |
+} |
+ |
bool Command::GetListParameter(const std::string& key, |
ListValue** out) const { |
return parameters_.get() != NULL && parameters_->GetList(key, out); |