Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: chrome/test/webdriver/commands/command.cc

Issue 6330012: Cookie commands for the webdriver protocol (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: please review Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..29ea60f8a570d0aceffab14e71b2dd79efe94f1d 100644
--- a/chrome/test/webdriver/commands/command.cc
+++ b/chrome/test/webdriver/commands/command.cc
@@ -65,6 +65,11 @@ bool Command::GetIntegerParameter(const std::string& key,
return parameters_.get() != NULL && parameters_->GetInteger(key, out);
}
+bool Command::GetDictionaryParameter(const std::string& key,
+ DictionaryValue** out) const {
+ return parameters_.get() != NULL && parameters_->GetDictionary(key, out);
+}
+
bool Command::GetListParameter(const std::string& key,
ListValue** out) const {
return parameters_.get() != NULL && parameters_->GetList(key, out);

Powered by Google App Engine
This is Rietveld 408576698