summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/commands/navigate_commands.h
diff options
context:
space:
mode:
authorkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 15:02:33 +0000
committerkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 15:02:33 +0000
commit2937a8c72bfd28188ccd0b3f3b54bc3303b5f537 (patch)
tree384b91fec1c7736bee9ce5e61055e84febe2fcd5 /chrome/test/webdriver/commands/navigate_commands.h
parentcdca989154d270a6553c1c8e2df0122b521b49eb (diff)
downloadchromium_src-2937a8c72bfd28188ccd0b3f3b54bc3303b5f537.zip
chromium_src-2937a8c72bfd28188ccd0b3f3b54bc3303b5f537.tar.gz
chromium_src-2937a8c72bfd28188ccd0b3f3b54bc3303b5f537.tar.bz2
Refactor error handling in chromedriver. Introduce new error class containing a webdriver error code, possible error details, and a stack trace.
Also some minor cleanup of the command files. BUG=none TEST=none Review URL: http://codereview.chromium.org/7042018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/webdriver/commands/navigate_commands.h')
-rw-r--r--chrome/test/webdriver/commands/navigate_commands.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/test/webdriver/commands/navigate_commands.h b/chrome/test/webdriver/commands/navigate_commands.h
index c4960f9..a5777b22 100644
--- a/chrome/test/webdriver/commands/navigate_commands.h
+++ b/chrome/test/webdriver/commands/navigate_commands.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.
@@ -26,8 +26,6 @@ class ForwardCommand : public WebDriverCommand {
virtual void ExecutePost(Response* const response);
private:
- virtual bool RequiresValidTab();
-
DISALLOW_COPY_AND_ASSIGN(ForwardCommand);
};
@@ -43,8 +41,6 @@ class BackCommand : public WebDriverCommand {
virtual void ExecutePost(Response* const response);
private:
- virtual bool RequiresValidTab();
-
DISALLOW_COPY_AND_ASSIGN(BackCommand);
};
@@ -60,12 +56,9 @@ class RefreshCommand : public WebDriverCommand {
virtual void ExecutePost(Response* const response);
private:
- virtual bool RequiresValidTab();
-
DISALLOW_COPY_AND_ASSIGN(RefreshCommand);
};
} // namespace webdriver
#endif // CHROME_TEST_WEBDRIVER_COMMANDS_NAVIGATE_COMMANDS_H_
-