Index: chrome/test/webdriver/commands/command.cc |
diff --git a/chrome/test/webdriver/commands/command.cc b/chrome/test/webdriver/commands/command.cc |
index e524f6eecaa46142bf87c4b621a2fc489f201b53..def5ed59370ddecb8ce81cdbc104388d835c1555 100644 |
--- a/chrome/test/webdriver/commands/command.cc |
+++ b/chrome/test/webdriver/commands/command.cc |
@@ -37,5 +37,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 |