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

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

Issue 2096643002: Eliminate MojoApplicationHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mah3
Patch Set: . Created 4 years, 6 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
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | content/renderer/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11cf993fadf331df589e19201b174b39c4007a8b..3049984b4b4fbc950d3ad4330f1fdbdd1aba0381 100644
--- a/content/public/test/mock_render_thread.cc
+++ b/content/public/test/mock_render_thread.cc
@@ -184,6 +184,10 @@ void MockRenderThread::ReleaseCachedFonts() {
#endif // OS_WIN
+MojoShellConnection* MockRenderThread::GetMojoShellConnection() {
+ return nullptr;
+}
+
shell::InterfaceRegistry* MockRenderThread::GetInterfaceRegistry() {
if (!interface_registry_)
interface_registry_.reset(new shell::InterfaceRegistry(nullptr));
@@ -195,8 +199,8 @@ shell::InterfaceProvider* MockRenderThread::GetRemoteInterfaces() {
shell::mojom::InterfaceProviderPtr remote_interface_provider;
pending_remote_interface_provider_request_ =
GetProxy(&remote_interface_provider);
- remote_interfaces_.reset(new shell::InterfaceProvider(
- std::move(remote_interface_provider)));
+ remote_interfaces_.reset(new shell::InterfaceProvider);
+ remote_interfaces_->Bind(std::move(remote_interface_provider));
}
return remote_interfaces_.get();
}
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | content/renderer/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698