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

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

Issue 6507015: Implement the target locator commands for ChromeDriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Pawel's concerns 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.h
diff --git a/chrome/test/webdriver/commands/command.h b/chrome/test/webdriver/commands/command.h
index 6b3f69292dbf808eb6dd7e7a394b1d416bdafb69..078ed383b16658b131133915b149608fccc2adeb 100644
--- a/chrome/test/webdriver/commands/command.h
+++ b/chrome/test/webdriver/commands/command.h
@@ -54,6 +54,10 @@ class Command {
return i < path_segments_.size() ? path_segments_.at(i) : "";
}
+ // Returns true if the command parameter with the given |key| exists and is
+ // a null value.
+ bool IsNullParameter(const std::string& key) const;
+
// Returns the command parameter with the given |key| as a UTF-16 string.
// Returns true on success.
bool GetStringParameter(const std::string& key, string16* out) const;
@@ -95,4 +99,3 @@ class Command {
} // namespace webdriver
#endif // CHROME_TEST_WEBDRIVER_COMMANDS_COMMAND_H_
-

Powered by Google App Engine
This is Rietveld 408576698