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

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

Issue 6462015: Cleanup more test code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wtf windows is this me 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/commands/command.h ('k') | chrome/test/webdriver/commands/find_element_commands.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..142c947750434962c434d479fbd5bef88a5b4138 100644
--- a/chrome/test/webdriver/commands/command.cc
+++ b/chrome/test/webdriver/commands/command.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -17,6 +17,29 @@ const char* const Response::kStackTrace = "stackTrace";
const char* const Response::kFileName = "fileName";
const char* const Response::kLineNumber = "lineNumber";
+Command::Command(const std::vector<std::string>& path_segments,
+ const DictionaryValue* const parameters)
+ : path_segments_(path_segments),
+ parameters_(parameters) {}
+
+Command::~Command() {}
+
+bool Command::DoesDelete() {
+ return false;
+}
+
+bool Command::DoesGet() {
+ return false;
+}
+
+bool Command::DoesPost() {
+ return false;
+}
+
+bool Command::Init(Response* const response) {
+ return true;
+}
+
bool Command::GetStringParameter(const std::string& key,
string16* out) const {
return parameters_.get() != NULL && parameters_->GetString(key, out);
« no previous file with comments | « chrome/test/webdriver/commands/command.h ('k') | chrome/test/webdriver/commands/find_element_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698