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 CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ |
6 #define CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ | 6 #define CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 22 matching lines...) Expand all Loading... |
33 } | 33 } |
34 | 34 |
35 namespace ui { | 35 namespace ui { |
36 class ScopedOleInitializer; | 36 class ScopedOleInitializer; |
37 } | 37 } |
38 | 38 |
39 namespace content { | 39 namespace content { |
40 | 40 |
41 class BrowserContext; | 41 class BrowserContext; |
42 class ContentBrowserSanityChecker; | 42 class ContentBrowserSanityChecker; |
| 43 class LoaderGlobals; |
43 class MockRenderProcessHost; | 44 class MockRenderProcessHost; |
44 class MockRenderProcessHostFactory; | 45 class MockRenderProcessHostFactory; |
45 class NavigationController; | 46 class NavigationController; |
46 class RenderProcessHostFactory; | 47 class RenderProcessHostFactory; |
47 class TestRenderFrameHostFactory; | 48 class TestRenderFrameHostFactory; |
48 class TestRenderViewHostFactory; | 49 class TestRenderViewHostFactory; |
49 class WebContents; | 50 class WebContents; |
50 struct WebPreferences; | 51 struct WebPreferences; |
51 | 52 |
52 // An interface and utility for driving tests of RenderFrameHost. | 53 // An interface and utility for driving tests of RenderFrameHost. |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 std::unique_ptr<BrowserContext> browser_context_; | 286 std::unique_ptr<BrowserContext> browser_context_; |
286 | 287 |
287 std::unique_ptr<WebContents> contents_; | 288 std::unique_ptr<WebContents> contents_; |
288 #if defined(OS_WIN) | 289 #if defined(OS_WIN) |
289 std::unique_ptr<ui::ScopedOleInitializer> ole_initializer_; | 290 std::unique_ptr<ui::ScopedOleInitializer> ole_initializer_; |
290 #endif | 291 #endif |
291 #if defined(USE_AURA) | 292 #if defined(USE_AURA) |
292 std::unique_ptr<aura::test::AuraTestHelper> aura_test_helper_; | 293 std::unique_ptr<aura::test::AuraTestHelper> aura_test_helper_; |
293 #endif | 294 #endif |
294 std::unique_ptr<RenderViewHostTestEnabler> rvh_test_enabler_; | 295 std::unique_ptr<RenderViewHostTestEnabler> rvh_test_enabler_; |
| 296 |
| 297 std::unique_ptr<LoaderGlobals> loader_globals_; |
| 298 |
295 RenderProcessHostFactory* factory_ = nullptr; | 299 RenderProcessHostFactory* factory_ = nullptr; |
296 | 300 |
297 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 301 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
298 }; | 302 }; |
299 | 303 |
300 } // namespace content | 304 } // namespace content |
301 | 305 |
302 #endif // CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ | 306 #endif // CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ |
OLD | NEW |