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 #include "content/public/test/test_renderer_host.h" | 5 #include "content/public/test/test_renderer_host.h" |
6 | 6 |
7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 8 #include "content/browser/frame_host/navigation_entry_impl.h" |
8 #include "content/browser/renderer_host/render_view_host_factory.h" | 9 #include "content/browser/renderer_host/render_view_host_factory.h" |
9 #include "content/browser/renderer_host/render_widget_host_impl.h" | 10 #include "content/browser/renderer_host/render_widget_host_impl.h" |
10 #include "content/browser/renderer_host/test_render_view_host.h" | 11 #include "content/browser/renderer_host/test_render_view_host.h" |
11 #include "content/browser/site_instance_impl.h" | 12 #include "content/browser/site_instance_impl.h" |
12 #include "content/browser/web_contents/navigation_entry_impl.h" | |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "content/public/browser/web_contents.h" | 14 #include "content/public/browser/web_contents.h" |
15 #include "content/public/test/mock_render_process_host.h" | 15 #include "content/public/test/mock_render_process_host.h" |
16 #include "content/public/test/test_browser_context.h" | 16 #include "content/public/test/test_browser_context.h" |
17 #include "content/test/test_render_view_host_factory.h" | 17 #include "content/test/test_render_view_host_factory.h" |
18 #include "content/test/test_web_contents.h" | 18 #include "content/test/test_web_contents.h" |
19 | 19 |
20 #if defined(OS_WIN) | 20 #if defined(OS_WIN) |
21 #include "ui/base/win/scoped_ole_initializer.h" | 21 #include "ui/base/win/scoped_ole_initializer.h" |
22 #endif | 22 #endif |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 BrowserContext* RenderViewHostTestHarness::CreateBrowserContext() { | 199 BrowserContext* RenderViewHostTestHarness::CreateBrowserContext() { |
200 return new TestBrowserContext(); | 200 return new TestBrowserContext(); |
201 } | 201 } |
202 | 202 |
203 void RenderViewHostTestHarness::SetRenderProcessHostFactory( | 203 void RenderViewHostTestHarness::SetRenderProcessHostFactory( |
204 RenderProcessHostFactory* factory) { | 204 RenderProcessHostFactory* factory) { |
205 rvh_test_enabler_.rvh_factory_->set_render_process_host_factory(factory); | 205 rvh_test_enabler_.rvh_factory_->set_render_process_host_factory(factory); |
206 } | 206 } |
207 | 207 |
208 } // namespace content | 208 } // namespace content |
OLD | NEW |