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

Side by Side Diff: content/public/test/test_renderer_host.h

Issue 462083003: Revert of [site isolation] cross-site transfers should track the RenderFrameHost, not the View (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
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_RENDERER_HOST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_
6 #define CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ 6 #define CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "content/public/browser/render_frame_host.h" 10 #include "content/public/browser/render_frame_host.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 public: 153 public:
154 RenderViewHostTestHarness(); 154 RenderViewHostTestHarness();
155 virtual ~RenderViewHostTestHarness(); 155 virtual ~RenderViewHostTestHarness();
156 156
157 NavigationController& controller(); 157 NavigationController& controller();
158 WebContents* web_contents(); 158 WebContents* web_contents();
159 RenderViewHost* rvh(); 159 RenderViewHost* rvh();
160 RenderViewHost* pending_rvh(); 160 RenderViewHost* pending_rvh();
161 RenderViewHost* active_rvh(); 161 RenderViewHost* active_rvh();
162 RenderFrameHost* main_rfh(); 162 RenderFrameHost* main_rfh();
163 RenderFrameHost* pending_main_rfh();
164 BrowserContext* browser_context(); 163 BrowserContext* browser_context();
165 MockRenderProcessHost* process(); 164 MockRenderProcessHost* process();
166 165
167 // Frees the current WebContents for tests that want to test destruction. 166 // Frees the current WebContents for tests that want to test destruction.
168 void DeleteContents(); 167 void DeleteContents();
169 168
170 // Sets the current WebContents for tests that want to alter it. Takes 169 // Sets the current WebContents for tests that want to alter it. Takes
171 // ownership of the WebContents passed. 170 // ownership of the WebContents passed.
172 void SetContents(WebContents* contents); 171 void SetContents(WebContents* contents);
173 172
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 226
228 int thread_bundle_options_; 227 int thread_bundle_options_;
229 scoped_ptr<TestBrowserThreadBundle> thread_bundle_; 228 scoped_ptr<TestBrowserThreadBundle> thread_bundle_;
230 229
231 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 230 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
232 }; 231 };
233 232
234 } // namespace content 233 } // namespace content
235 234
236 #endif // CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_ 235 #endif // CONTENT_PUBLIC_TEST_TEST_RENDERER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/public/test/test_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698