Index: chrome/test/webdriver/commands/command.cc |
diff --git a/chrome/test/webdriver/commands/command.cc b/chrome/test/webdriver/commands/command.cc |
index 142c947750434962c434d479fbd5bef88a5b4138..a4e5d97746a5196b2df59df351123e6a38975528 100644 |
--- a/chrome/test/webdriver/commands/command.cc |
+++ b/chrome/test/webdriver/commands/command.cc |
@@ -65,5 +65,10 @@ 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); |
+} |
+ |
} // namespace webdriver |