Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: content/test/test_render_frame_host.h

Issue 1874543002: Inside of content, prefer SiteInstanceImpl to SiteInstance. Base URL: https://chromium.googlesource.com/chromium/src.git@site_instance_unittest
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 20 matching lines...) Expand all
31 31
32 RenderFrameHost* last_created_frame() const { return last_created_frame_; } 32 RenderFrameHost* last_created_frame() const { return last_created_frame_; }
33 33
34 private: 34 private:
35 RenderFrameHost* last_created_frame_; 35 RenderFrameHost* last_created_frame_;
36 }; 36 };
37 37
38 class TestRenderFrameHost : public RenderFrameHostImpl, 38 class TestRenderFrameHost : public RenderFrameHostImpl,
39 public RenderFrameHostTester { 39 public RenderFrameHostTester {
40 public: 40 public:
41 TestRenderFrameHost(SiteInstance* site_instance, 41 TestRenderFrameHost(SiteInstanceImpl* site_instance,
42 RenderViewHostImpl* render_view_host, 42 RenderViewHostImpl* render_view_host,
43 RenderFrameHostDelegate* delegate, 43 RenderFrameHostDelegate* delegate,
44 RenderWidgetHostDelegate* rwh_delegate, 44 RenderWidgetHostDelegate* rwh_delegate,
45 FrameTree* frame_tree, 45 FrameTree* frame_tree,
46 FrameTreeNode* frame_tree_node, 46 FrameTreeNode* frame_tree_node,
47 int32_t routing_id, 47 int32_t routing_id,
48 int32_t widget_routing_id, 48 int32_t widget_routing_id,
49 int flags); 49 int flags);
50 ~TestRenderFrameHost() override; 50 ~TestRenderFrameHost() override;
51 51
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 // See set_simulate_history_list_was_cleared() above. 156 // See set_simulate_history_list_was_cleared() above.
157 bool simulate_history_list_was_cleared_; 157 bool simulate_history_list_was_cleared_;
158 158
159 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); 159 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost);
160 }; 160 };
161 161
162 } // namespace content 162 } // namespace content
163 163
164 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 164 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698