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

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

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/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 6d060332199c55a17600b449ac3ef49e82920c1a..ccb95b85f29aaf57bcb454942fc5ab40f8972ee0 100644
--- a/chrome/test/webdriver/commands/command.h
+++ b/chrome/test/webdriver/commands/command.h
@@ -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.
@@ -24,21 +24,19 @@ namespace webdriver {
// http://code.google.com/p/selenium/wiki/JsonWireProtocol
class Command {
public:
- inline Command(const std::vector<std::string>& path_segments,
- const DictionaryValue* const parameters)
- : path_segments_(path_segments),
- parameters_(parameters) {}
- virtual ~Command() {}
+ Command(const std::vector<std::string>& path_segments,
+ const DictionaryValue* const parameters);
+ virtual ~Command();
// Indicates which HTTP methods this command URL responds to.
- virtual bool DoesDelete() { return false; }
- virtual bool DoesGet() { return false; }
- virtual bool DoesPost() { return false; }
+ virtual bool DoesDelete();
+ virtual bool DoesGet();
+ virtual bool DoesPost();
// Initializes this command for execution. If initialization fails, will
// return |false| and populate the |response| with the necessary information
// to return to the client.
- virtual bool Init(Response* const response) { return true; }
+ virtual bool Init(Response* const response);
// Executes the corresponding variant of this command URL.
// Always called after |Init()| and called from the Execute function.
« 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