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_TEST_TEST_RENDER_VIEW_HOST_FACTORY_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_FACTORY_H_ |
6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_FACTORY_H_ | 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_FACTORY_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "content/browser/renderer_host/render_view_host_factory.h" | 10 #include "content/browser/renderer_host/render_view_host_factory.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 class SiteInstance; | 14 class SiteInstance; |
16 class RenderViewHostDelegate; | 15 class RenderViewHostDelegate; |
17 class RenderProcessHostFactory; | 16 class RenderProcessHostFactory; |
(...skipping 28 matching lines...) Expand all Loading... |
46 // happens before the RenderProcessHost is created. This way, the instance | 45 // happens before the RenderProcessHost is created. This way, the instance |
47 // has the correct factory and creates our special RenderProcessHosts. | 46 // has the correct factory and creates our special RenderProcessHosts. |
48 content::RenderProcessHostFactory* render_process_host_factory_; | 47 content::RenderProcessHostFactory* render_process_host_factory_; |
49 | 48 |
50 DISALLOW_COPY_AND_ASSIGN(TestRenderViewHostFactory); | 49 DISALLOW_COPY_AND_ASSIGN(TestRenderViewHostFactory); |
51 }; | 50 }; |
52 | 51 |
53 } // namespace content | 52 } // namespace content |
54 | 53 |
55 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_FACTORY_H_ | 54 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_FACTORY_H_ |
OLD | NEW |