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

Unified Diff: content/browser/utility_process_host_impl.cc

Issue 2766263009: Convert content ConnectionFilter to OnBindInterface (Closed)
Patch Set: . Created 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/utility_process_host_impl.cc
diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc
index fd057ba52a843d9bc6b27335dee2700e1bd3814a..4afd9e93c4feb67c34137489ec732412a724d745 100644
--- a/content/browser/utility_process_host_impl.cc
+++ b/content/browser/utility_process_host_impl.cc
@@ -227,9 +227,11 @@ bool UtilityProcessHostImpl::Start() {
return StartProcess();
}
-service_manager::InterfaceProvider*
-UtilityProcessHostImpl::GetRemoteInterfaces() {
- return process_->child_connection()->GetRemoteInterfaces();
+void UtilityProcessHostImpl::BindInterface(
+ const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle interface_pipe) {
+ process_->child_connection()->BindInterface(interface_name,
+ std::move(interface_pipe));
}
void UtilityProcessHostImpl::SetName(const base::string16& name) {
« no previous file with comments | « content/browser/utility_process_host_impl.h ('k') | content/browser/utility_process_host_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698