OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_BROWSER_BROWSER_TEST_RUNNER_ | 5 #ifndef CHROME_TEST_BROWSER_BROWSER_TEST_RUNNER_ |
6 #define CHROME_TEST_BROWSER_BROWSER_TEST_RUNNER_ | 6 #define CHROME_TEST_BROWSER_BROWSER_TEST_RUNNER_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 // false if it failed. | 37 // false if it failed. |
38 virtual bool RunTest(const std::string& test_name) = 0; | 38 virtual bool RunTest(const std::string& test_name) = 0; |
39 | 39 |
40 private: | 40 private: |
41 DISALLOW_COPY_AND_ASSIGN(BrowserTestRunner); | 41 DISALLOW_COPY_AND_ASSIGN(BrowserTestRunner); |
42 }; | 42 }; |
43 | 43 |
44 class BrowserTestRunnerFactory { | 44 class BrowserTestRunnerFactory { |
45 public: | 45 public: |
46 virtual BrowserTestRunner* CreateBrowserTestRunner() const = 0; | 46 virtual BrowserTestRunner* CreateBrowserTestRunner() const = 0; |
47 protected: | |
48 ~BrowserTestRunnerFactory() {} | |
49 }; | 47 }; |
50 | 48 |
51 } // namespace | 49 } // namespace |
52 | 50 |
53 #endif // CHROME_TEST_BROWSER_BROWSER_TEST_RUNNER_ | 51 #endif // CHROME_TEST_BROWSER_BROWSER_TEST_RUNNER_ |
OLD | NEW |