| Index: chrome/test/webdriver/commands/command.h
|
| ===================================================================
|
| --- chrome/test/webdriver/commands/command.h (revision 75464)
|
| +++ chrome/test/webdriver/commands/command.h (working copy)
|
| @@ -54,6 +54,9 @@
|
| return i < path_segments_.size() ? path_segments_.at(i) : "";
|
| }
|
|
|
| + // Returns whether the command has a parameter with the given |key|.
|
| + bool HasParameter(const std::string& key) const;
|
| +
|
| // Returns true if the command parameter with the given |key| exists and is
|
| // a null value.
|
| bool IsNullParameter(const std::string& key) const;
|
| @@ -78,6 +81,10 @@
|
| // false if there is no such parameter, or if it is not a int.
|
| bool GetIntegerParameter(const std::string& key, int* out) const;
|
|
|
| + // Provides the command parameter with the given |key| as a double. Returns
|
| + // false if there is no such parameter, or if it is not a dobule.
|
| + bool GetDoubleParameter(const std::string& key, double* out) const;
|
| +
|
| // Provides the command parameter with the given |key| as a Dictionary.
|
| // Returns false if there is no such parameter, or if it is not a Dictionary.
|
| bool GetDictionaryParameter(const std::string& key,
|
|
|