diff options
Diffstat (limited to 'chrome/test/webdriver/commands/source_command.h')
-rw-r--r-- | chrome/test/webdriver/commands/source_command.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/chrome/test/webdriver/commands/source_command.h b/chrome/test/webdriver/commands/source_command.h index cc8b1e7..0248d34 100644 --- a/chrome/test/webdriver/commands/source_command.h +++ b/chrome/test/webdriver/commands/source_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. @@ -10,12 +10,13 @@ #include "chrome/test/webdriver/commands/webdriver_command.h" +class DictionaryValue; + namespace webdriver { class Response; -// Controls navigate to new web pages for the current tab. A call with -// an HTTP GET will return the source of the tab. See: +// Gets the page source. See: // http://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/source class SourceCommand : public WebDriverCommand { public: @@ -27,12 +28,9 @@ class SourceCommand : public WebDriverCommand { virtual void ExecuteGet(Response* const response); private: - virtual bool RequiresValidTab(); - DISALLOW_COPY_AND_ASSIGN(SourceCommand); }; } // namespace webdriver #endif // CHROME_TEST_WEBDRIVER_COMMANDS_SOURCE_COMMAND_H_ - |