| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_WEB_PUBLIC_TEST_WEB_TEST_H_ | 5 #ifndef IOS_WEB_PUBLIC_TEST_WEB_TEST_H_ |
| 6 #define IOS_WEB_PUBLIC_TEST_WEB_TEST_H_ | 6 #define IOS_WEB_PUBLIC_TEST_WEB_TEST_H_ |
| 7 | 7 |
| 8 #include "ios/web/public/test/fakes/test_browser_state.h" |
| 8 #include "ios/web/public/test/scoped_testing_web_client.h" | 9 #include "ios/web/public/test/scoped_testing_web_client.h" |
| 9 #include "ios/web/public/test/test_browser_state.h" | |
| 10 #include "ios/web/public/test/test_web_thread_bundle.h" | 10 #include "ios/web/public/test/test_web_thread_bundle.h" |
| 11 #include "testing/platform_test.h" | 11 #include "testing/platform_test.h" |
| 12 | 12 |
| 13 namespace web { | 13 namespace web { |
| 14 | 14 |
| 15 class BrowserState; | 15 class BrowserState; |
| 16 class TestWebClient; | 16 class TestWebClient; |
| 17 | 17 |
| 18 // A test fixture for web tests that need a minimum environment set up that | 18 // A test fixture for web tests that need a minimum environment set up that |
| 19 // mimics a web embedder. | 19 // mimics a web embedder. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 37 ScopedTestingWebClient web_client_; | 37 ScopedTestingWebClient web_client_; |
| 38 // The threads used for testing. | 38 // The threads used for testing. |
| 39 web::TestWebThreadBundle thread_bundle_; | 39 web::TestWebThreadBundle thread_bundle_; |
| 40 // The browser state used in tests. | 40 // The browser state used in tests. |
| 41 TestBrowserState browser_state_; | 41 TestBrowserState browser_state_; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace web | 44 } // namespace web |
| 45 | 45 |
| 46 #endif // IOS_WEB_PUBLIC_TEST_WEB_TEST_H_ | 46 #endif // IOS_WEB_PUBLIC_TEST_WEB_TEST_H_ |
| OLD | NEW |