Chromium Code Reviews| Index: content/public/test/test_content_client_initializer.h |
| =================================================================== |
| --- content/public/test/test_content_client_initializer.h (revision 140261) |
| +++ content/public/test/test_content_client_initializer.h (working copy) |
| @@ -15,6 +15,8 @@ |
| class ContentClient; |
| class MockContentBrowserClient; |
| +class MockRenderProcessHostFactory; |
| +class TestRenderViewHostFactory; |
| // Initializes various objects needed to run unit tests that use content:: |
| // objects. Currently this includes setting up the notification service, |
| @@ -24,10 +26,17 @@ |
| TestContentClientInitializer(); |
| ~TestContentClientInitializer(); |
| + // Enables switching RenderViewHost creation to use the test version instead |
| + // of the real implementation. This will list throughout the lifetime of this |
|
Avi (use Gerrit)
2012/06/04 14:26:51
s/list/last/
jam
2012/06/04 14:46:14
Done.
|
| + // class. |
| + void CreateTestRenderViewHosts(); |
| + |
| private: |
| scoped_ptr<NotificationServiceImpl> notification_service_; |
| scoped_ptr<ContentClient> content_client_; |
| scoped_ptr<MockContentBrowserClient> content_browser_client_; |
| + scoped_ptr<content::MockRenderProcessHostFactory> rph_factory_; |
| + scoped_ptr<TestRenderViewHostFactory> test_render_view_host_factory_; |
| DISALLOW_COPY_AND_ASSIGN(TestContentClientInitializer); |
| }; |