Index: chrome/test/webdriver/commands/command.h |
diff --git a/chrome/test/webdriver/commands/command.h b/chrome/test/webdriver/commands/command.h |
index ccb95b85f29aaf57bcb454942fc5ab40f8972ee0..aa8accf608fd698fe9798948519b167279fc099b 100644 |
--- a/chrome/test/webdriver/commands/command.h |
+++ b/chrome/test/webdriver/commands/command.h |
@@ -74,6 +74,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. |
John Grabowski
2011/02/14 21:59:06
Returns --> Provides, or "Get" (so it's not confus
Joe
2011/02/15 02:30:48
Done.
Joe
2011/02/15 02:30:48
Done.
|
+ // Returns false if there is no such parameter, or if it is not a Dictionary. |
+ bool GetDictionaryParameter(const std::string& key, |
+ DictionaryValue** out) const; |
+ |
private: |
const std::vector<std::string> path_segments_; |
const scoped_ptr<const DictionaryValue> parameters_; |