| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_ | 5 #ifndef IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_ |
| 6 #define IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_ | 6 #define IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/single_thread_task_runner.h" |
| 10 #include "ios/web/public/test/web_test_suite.h" | 11 #include "ios/web/public/test/web_test_suite.h" |
| 11 | 12 |
| 12 // Test suite for unit tests. | 13 // Test suite for unit tests. |
| 13 class IOSChromeUnitTestSuite : public web::WebTestSuite { | 14 class IOSChromeUnitTestSuite : public web::WebTestSuite { |
| 14 public: | 15 public: |
| 15 IOSChromeUnitTestSuite(int argc, char** argv); | 16 IOSChromeUnitTestSuite(int argc, char** argv); |
| 16 ~IOSChromeUnitTestSuite() override; | 17 ~IOSChromeUnitTestSuite() override; |
| 17 | 18 |
| 18 // web::WebTestSuite overrides: | 19 // web::WebTestSuite overrides: |
| 19 void Initialize() override; | 20 void Initialize() override; |
| 20 | 21 |
| 21 private: | 22 private: |
| 23 scoped_refptr<base::SingleThreadTaskRunner> action_task_runner_; |
| 24 |
| 22 DISALLOW_COPY_AND_ASSIGN(IOSChromeUnitTestSuite); | 25 DISALLOW_COPY_AND_ASSIGN(IOSChromeUnitTestSuite); |
| 23 }; | 26 }; |
| 24 | 27 |
| 25 #endif // IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_ | 28 #endif // IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_ |
| OLD | NEW |