summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/commands/execute_command.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 22:10:01 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 22:10:01 +0000
commit8d167c212898cb233c51abf13913541c86cfd9ae (patch)
treef33768df22c405d0ea3e3521a14fc03f565fc07d /chrome/test/webdriver/commands/execute_command.h
parentdce08b668bed17b26e497ca56129538ba3da0b42 (diff)
downloadchromium_src-8d167c212898cb233c51abf13913541c86cfd9ae.zip
chromium_src-8d167c212898cb233c51abf13913541c86cfd9ae.tar.gz
chromium_src-8d167c212898cb233c51abf13913541c86cfd9ae.tar.bz2
Even more test cleanup. Some fixes to non-test code that's regressed.
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6523032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/webdriver/commands/execute_command.h')
-rw-r--r--chrome/test/webdriver/commands/execute_command.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/test/webdriver/commands/execute_command.h b/chrome/test/webdriver/commands/execute_command.h
index b431bb1..9a57854 100644
--- a/chrome/test/webdriver/commands/execute_command.h
+++ b/chrome/test/webdriver/commands/execute_command.h
@@ -21,20 +21,20 @@ namespace webdriver {
class ExecuteCommand : public WebDriverCommand {
public:
ExecuteCommand(const std::vector<std::string>& path_segments,
- const DictionaryValue* const parameters)
- : WebDriverCommand(path_segments, parameters) {}
- virtual ~ExecuteCommand() {}
+ const DictionaryValue* const parameters);
+ virtual ~ExecuteCommand();
virtual bool Init(Response* const response);
- virtual bool DoesPost() { return true; }
+ virtual bool DoesPost();
virtual void ExecutePost(Response* const response);
private:
+ virtual bool RequiresValidTab();
+
std::string script_;
bool has_args_;
std::string args_;
- virtual bool RequiresValidTab() { return true; }
DISALLOW_COPY_AND_ASSIGN(ExecuteCommand);
};