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

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: update Created 9 years, 11 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 e524f6eecaa46142bf87c4b621a2fc489f201b53..94be0382e9d8a7c5167fbf073e12eb96761dcbbf 100644
--- a/chrome/test/webdriver/commands/command.cc
+++ b/chrome/test/webdriver/commands/command.cc
@@ -37,5 +37,10 @@ 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);
+}
+
} // namespace webdriver

Powered by Google App Engine
This is Rietveld 408576698