Index: chrome/test/webdriver/commands/command.cc |
diff --git a/chrome/test/webdriver/commands/command.cc b/chrome/test/webdriver/commands/command.cc |
index 3cf81bd508c14a28599d23287906c3a0715cd6cf..894e46f5bd2b623a78ca8ad88f4bb9d94d5258e7 100644 |
--- a/chrome/test/webdriver/commands/command.cc |
+++ b/chrome/test/webdriver/commands/command.cc |
@@ -42,5 +42,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 |