From 2937a8c72bfd28188ccd0b3f3b54bc3303b5f537 Mon Sep 17 00:00:00 2001 From: "kkania@chromium.org" Date: Fri, 20 May 2011 15:02:33 +0000 Subject: 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 --- chrome/test/webdriver/commands/navigate_commands.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'chrome/test/webdriver/commands/navigate_commands.h') 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_ - -- cgit v1.1