| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAME_HOST_FACTORY_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ |
| 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ | 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 public: | 21 public: |
| 22 TestRenderFrameHostFactory(); | 22 TestRenderFrameHostFactory(); |
| 23 virtual ~TestRenderFrameHostFactory(); | 23 virtual ~TestRenderFrameHostFactory(); |
| 24 | 24 |
| 25 protected: | 25 protected: |
| 26 // RenderFrameHostFactory implementation. | 26 // RenderFrameHostFactory implementation. |
| 27 virtual scoped_ptr<RenderFrameHostImpl> CreateRenderFrameHost( | 27 virtual scoped_ptr<RenderFrameHostImpl> CreateRenderFrameHost( |
| 28 RenderViewHostImpl* render_view_host, | 28 RenderViewHostImpl* render_view_host, |
| 29 RenderFrameHostDelegate* delegate, | 29 RenderFrameHostDelegate* delegate, |
| 30 FrameTree* frame_tree, | 30 FrameTree* frame_tree, |
| 31 FrameTreeNode* frame_tree_node, |
| 31 int routing_id, | 32 int routing_id, |
| 32 bool is_swapped_out) OVERRIDE; | 33 bool is_swapped_out) OVERRIDE; |
| 33 | 34 |
| 34 private: | 35 private: |
| 35 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHostFactory); | 36 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHostFactory); |
| 36 }; | 37 }; |
| 37 | 38 |
| 38 } // namespace content | 39 } // namespace content |
| 39 | 40 |
| 40 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ | 41 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_ |
| OLD | NEW |