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_CONTENT_CLIENT_INITIALIZER_ | 5 #ifndef CONTENT_PUBLIC_TEST_TEST_CONTENT_CLIENT_INITIALIZER_ |
6 #define CONTENT_PUBLIC_TEST_TEST_CONTENT_CLIENT_INITIALIZER_ | 6 #define CONTENT_PUBLIC_TEST_TEST_CONTENT_CLIENT_INITIALIZER_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 // Enables switching RenderViewHost creation to use the test version instead | 28 // Enables switching RenderViewHost creation to use the test version instead |
29 // of the real implementation. This will last throughout the lifetime of this | 29 // of the real implementation. This will last throughout the lifetime of this |
30 // class. | 30 // class. |
31 void CreateTestRenderViewHosts(); | 31 void CreateTestRenderViewHosts(); |
32 | 32 |
33 private: | 33 private: |
34 scoped_ptr<NotificationServiceImpl> notification_service_; | 34 scoped_ptr<NotificationServiceImpl> notification_service_; |
35 scoped_ptr<ContentClient> content_client_; | 35 scoped_ptr<ContentClient> content_client_; |
36 scoped_ptr<TestContentBrowserClient> content_browser_client_; | 36 scoped_ptr<TestContentBrowserClient> content_browser_client_; |
37 scoped_ptr<content::MockRenderProcessHostFactory> rph_factory_; | 37 scoped_ptr<MockRenderProcessHostFactory> rph_factory_; |
38 scoped_ptr<TestRenderViewHostFactory> test_render_view_host_factory_; | 38 scoped_ptr<TestRenderViewHostFactory> test_render_view_host_factory_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(TestContentClientInitializer); | 40 DISALLOW_COPY_AND_ASSIGN(TestContentClientInitializer); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace content | 43 } // namespace content |
44 | 44 |
45 #endif // CONTENT_PUBLIC_TEST_TEST_CONTENT_CLIENT_INITIALIZER_ | 45 #endif // CONTENT_PUBLIC_TEST_TEST_CONTENT_CLIENT_INITIALIZER_ |
OLD | NEW |