| Index: content/browser/service_manager/service_manager_context.cc
|
| diff --git a/content/browser/service_manager/service_manager_context.cc b/content/browser/service_manager/service_manager_context.cc
|
| index a76a59f9850efecf8e1e813e7cd8dfd1d1ad6c46..0c00e4e124ff78a72630d304e44e44b50af0f2dd 100644
|
| --- a/content/browser/service_manager/service_manager_context.cc
|
| +++ b/content/browser/service_manager/service_manager_context.cc
|
| @@ -22,6 +22,7 @@
|
| #include "content/public/browser/content_browser_client.h"
|
| #include "content/public/browser/utility_process_host.h"
|
| #include "content/public/browser/utility_process_host_client.h"
|
| +#include "content/public/common/connection_filter.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/service_manager_connection.h"
|
| #include "content/public/common/service_names.mojom.h"
|
| @@ -275,6 +276,13 @@ ServiceManagerContext::ServiceManagerContext() {
|
| entry.second);
|
| }
|
|
|
| + ContentBrowserClient::ConnectionFilterList connection_filter_list;
|
| + GetContentClient()->browser()->AddConnectionFilters(&connection_filter_list);
|
| + for (auto& filter : connection_filter_list) {
|
| + ServiceManagerConnection::GetForProcess()->AddConnectionFilter(
|
| + std::move(filter));
|
| + }
|
| +
|
| // This is safe to assign directly from any thread, because
|
| // ServiceManagerContext must be constructed before anyone can call
|
| // GetConnectorForIOThread().
|
|
|