Index: chrome/test/webdriver/commands/session_with_id.cc |
diff --git a/chrome/test/webdriver/commands/session_with_id.cc b/chrome/test/webdriver/commands/session_with_id.cc |
index ed1614f15fca52baa2e309ac0848007d7e134739..6ea3f3bae5fb10408082ac9c1d13345058fa1802 100644 |
--- a/chrome/test/webdriver/commands/session_with_id.cc |
+++ b/chrome/test/webdriver/commands/session_with_id.cc |
@@ -13,6 +13,20 @@ |
namespace webdriver { |
+SessionWithID::SessionWithID(const std::vector<std::string>& path_segments, |
+ const DictionaryValue* const parameters) |
+ : WebDriverCommand(path_segments, parameters) {} |
+ |
+SessionWithID::~SessionWithID() {} |
+ |
+bool SessionWithID::DoesGet() { |
+ return true; |
+} |
+ |
+bool SessionWithID::DoesDelete() { |
+ return true; |
+} |
+ |
void SessionWithID::ExecuteGet(Response* const response) { |
DictionaryValue *temp_value = new DictionaryValue(); |
@@ -45,4 +59,8 @@ void SessionWithID::ExecuteDelete(Response* const response) { |
response->set_status(kSuccess); |
} |
+bool SessionWithID::RequiresValidTab() { |
+ return false; |
+} |
+ |
} // namespace webdriver |