| Index: chrome/test/webdriver/commands/command.cc
|
| diff --git a/chrome/test/webdriver/commands/command.cc b/chrome/test/webdriver/commands/command.cc
|
| index 67e16234c6c019d7aa578446802a0901717ed6ed..95ad878f54fed029c992e52aaa1dbb8505a671bb 100644
|
| --- a/chrome/test/webdriver/commands/command.cc
|
| +++ b/chrome/test/webdriver/commands/command.cc
|
| @@ -29,6 +29,10 @@ bool Command::Init(Response* const response) {
|
| return true;
|
| }
|
|
|
| +std::string Command::GetPathVariable(const size_t i) const {
|
| + return i < path_segments_.size() ? path_segments_.at(i) : "";
|
| +}
|
| +
|
| bool Command::HasParameter(const std::string& key) const {
|
| return parameters_.get() && parameters_->HasKey(key);
|
| }
|
|
|