| 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..c1ccb5c203c64ec9aa3b11ac32ffb44c6d059447 100644
|
| --- a/chrome/test/webdriver/commands/command.cc
|
| +++ b/chrome/test/webdriver/commands/command.cc
|
| @@ -40,6 +40,13 @@ bool Command::Init(Response* const response) {
|
| return true;
|
| }
|
|
|
| +bool Command::IsNullParameter(const std::string& key) const {
|
| + Value* value;
|
| + return parameters_.get() &&
|
| + parameters_->Get(key, &value) &&
|
| + value->IsType(Value::TYPE_NULL);
|
| +}
|
| +
|
| bool Command::GetStringParameter(const std::string& key,
|
| string16* out) const {
|
| return parameters_.get() != NULL && parameters_->GetString(key, out);
|
| @@ -71,4 +78,3 @@ bool Command::GetListParameter(const std::string& key,
|
| }
|
|
|
| } // namespace webdriver
|
| -
|
|
|