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

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: dsdsdsdjsdsj 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 142c947750434962c434d479fbd5bef88a5b4138..a4e5d97746a5196b2df59df351123e6a38975528 100644
--- a/chrome/test/webdriver/commands/command.cc
+++ b/chrome/test/webdriver/commands/command.cc
@@ -65,5 +65,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