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

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: ... 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
« no previous file with comments | « chrome/test/webdriver/automation.cc ('k') | chrome/test/webdriver/commands/command.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/commands/command.h
diff --git a/chrome/test/webdriver/commands/command.h b/chrome/test/webdriver/commands/command.h
index 75cc9bc959c1a727e6b28be626e469fc712a3cae..9d3cd4eeb5b54a79902925d59c8125560b1f0655 100644
--- a/chrome/test/webdriver/commands/command.h
+++ b/chrome/test/webdriver/commands/command.h
@@ -54,7 +54,11 @@ class Command {
return i < path_segments_.size() ? path_segments_.at(i) : "";
}
- // Provides the command parameter with the given |key| as a UTF-16 string.
+ // 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;
@@ -100,4 +104,3 @@ class Command {
} // namespace webdriver
#endif // CHROME_TEST_WEBDRIVER_COMMANDS_COMMAND_H_
-
« no previous file with comments | « chrome/test/webdriver/automation.cc ('k') | chrome/test/webdriver/commands/command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698