| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_WEBDRIVER_COMMANDS_WEBDRIVER_COMMAND_H_ | 5 #ifndef CHROME_TEST_WEBDRIVER_COMMANDS_WEBDRIVER_COMMAND_H_ |
| 6 #define CHROME_TEST_WEBDRIVER_COMMANDS_WEBDRIVER_COMMAND_H_ | 6 #define CHROME_TEST_WEBDRIVER_COMMANDS_WEBDRIVER_COMMAND_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "chrome/test/webdriver/commands/command.h" | 11 #include "chrome/test/webdriver/commands/command.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class DictionaryValue; | 14 class DictionaryValue; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace webdriver { | 17 namespace webdriver { |
| 18 | 18 |
| 19 class Error; | |
| 20 class Response; | 19 class Response; |
| 21 class Session; | 20 class Session; |
| 22 | 21 |
| 23 // All URLs that are found in the document: | 22 // All URLs that are found in the document: |
| 24 // http://code.google.com/p/selenium/wiki/JsonWireProtocol | 23 // http://code.google.com/p/selenium/wiki/JsonWireProtocol |
| 25 // and are to be supported for all browsers and platforms should inhert | 24 // and are to be supported for all browsers and platforms should inhert |
| 26 // this class. For cases which do not invlove interaction with the | 25 // this class. For cases which do not invlove interaction with the |
| 27 // browser, such a transfering a file, inhert from the Command class | 26 // browser, such a transfering a file, inhert from the Command class |
| 28 // directly. | 27 // directly. |
| 29 class WebDriverCommand : public Command { | 28 class WebDriverCommand : public Command { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 40 protected: | 39 protected: |
| 41 Session* session_; | 40 Session* session_; |
| 42 std::string session_id_; | 41 std::string session_id_; |
| 43 | 42 |
| 44 DISALLOW_COPY_AND_ASSIGN(WebDriverCommand); | 43 DISALLOW_COPY_AND_ASSIGN(WebDriverCommand); |
| 45 }; | 44 }; |
| 46 | 45 |
| 47 } // namespace webdriver | 46 } // namespace webdriver |
| 48 | 47 |
| 49 #endif // CHROME_TEST_WEBDRIVER_COMMANDS_WEBDRIVER_COMMAND_H_ | 48 #endif // CHROME_TEST_WEBDRIVER_COMMANDS_WEBDRIVER_COMMAND_H_ |
| OLD | NEW |