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

Unified Diff: content/public/test/mock_render_process_host.cc

Issue 2573213002: Consolidate all TDI SiteInstances into one render process. (Closed)
Patch Set: comment Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/public/test/mock_render_process_host.cc
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index 1d87a48ad2aaad174b1c5963fa088021616a0839..c7ba2ecffe885cae6e11af745db182cf841ca86b 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -315,6 +315,14 @@ mojom::Renderer* MockRenderProcessHost::GetRendererInterface() {
return renderer_interface_->get();
}
+void MockRenderProcessHost::SetIsNeverSuitableForReuse() {
+ NOTREACHED();
+}
+
+bool MockRenderProcessHost::MayReuseHost() {
+ return true;
+}
+
void MockRenderProcessHost::FilterURL(bool empty_allowed, GURL* url) {
RenderProcessHostImpl::FilterURL(this, empty_allowed, url);
}
« content/browser/site_instance_impl.cc ('K') | « content/public/test/mock_render_process_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698