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

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: kdsodkoskdoskdokosdksdkso 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 3cf81bd508c14a28599d23287906c3a0715cd6cf..894e46f5bd2b623a78ca8ad88f4bb9d94d5258e7 100644
--- a/chrome/test/webdriver/commands/command.cc
+++ b/chrome/test/webdriver/commands/command.cc
@@ -42,5 +42,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