Index: chrome/test/webdriver/commands/command.h |
diff --git a/chrome/test/webdriver/commands/command.h b/chrome/test/webdriver/commands/command.h |
index 55d4c924e54f81c7bdd4afd7dbf01d1b69c28557..fb35cb801ccac77dff577470350cff3f9cde69d9 100644 |
--- a/chrome/test/webdriver/commands/command.h |
+++ b/chrome/test/webdriver/commands/command.h |
@@ -72,6 +72,11 @@ class Command { |
// false if there is no such parameter, or if it is not a int. |
bool GetIntegerParameter(const std::string& key, int* out) const; |
+ // Returns 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, |
+ DictionaryValue** out) const; |
John Grabowski
2011/02/04 02:40:23
bad indent on this line?
Joe
2011/02/09 06:32:10
Done.
|
+ |
private: |
const std::vector<std::string> path_segments_; |
const scoped_ptr<const DictionaryValue> parameters_; |