OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEDRIVER_CHROME_H_ | 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_H_ |
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_H_ | 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 class Status; | 10 class Status; |
9 | 11 |
10 class Chrome { | 12 class Chrome { |
11 public: | 13 public: |
12 virtual ~Chrome() {} | 14 virtual ~Chrome() {} |
| 15 |
| 16 virtual Status Load(const std::string& url) = 0; |
13 virtual Status Quit() = 0; | 17 virtual Status Quit() = 0; |
14 }; | 18 }; |
15 | 19 |
16 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_H_ | 20 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_H_ |
OLD | NEW |