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

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

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: Created 4 years, 3 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_thread.cc
diff --git a/content/public/test/mock_render_thread.cc b/content/public/test/mock_render_thread.cc
index ceeac534f8a171be31e881f60998b0bf67afe166..150b871d50c0441dbbc79f967e98a68f8b66df8d 100644
--- a/content/public/test/mock_render_thread.cc
+++ b/content/public/test/mock_render_thread.cc
@@ -92,6 +92,16 @@ int MockRenderThread::GenerateRoutingID() {
return MSG_ROUTING_NONE;
}
+void MockRenderThread::AddRoutedInterfaces(
+ int32_t routing_id,
+ mojom::RoutedInterfaceProvider* provider) {
+}
+
+mojom::RouteProvider* MockRenderThread::GetRemoteRouteProvider() {
+ NOTREACHED();
+ return nullptr;
+}
+
void MockRenderThread::AddFilter(IPC::MessageFilter* filter) {
filter->OnFilterAdded(&sink());
// Add this filter to a vector so the MockRenderThread::RemoveFilter function

Powered by Google App Engine
This is Rietveld 408576698