| 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 c400726c1c84c109691fb8abe0e8234fb2138f97..1bd5f5a0ba2694b636a4c8747b1d802a54298bbf 100644
|
| --- a/content/browser/service_manager/service_manager_context.cc
|
| +++ b/content/browser/service_manager/service_manager_context.cc
|
| @@ -36,6 +36,8 @@
|
| #include "services/catalog/store.h"
|
| #include "services/device/device_service.h"
|
| #include "services/device/public/interfaces/constants.mojom.h"
|
| +#include "services/resource_coordinator/public/interfaces/constants.mojom.h"
|
| +#include "services/resource_coordinator/resource_coordinator_service.h"
|
| #include "services/service_manager/connect_params.h"
|
| #include "services/service_manager/public/cpp/connector.h"
|
| #include "services/service_manager/public/cpp/service.h"
|
| @@ -294,6 +296,12 @@ ServiceManagerContext::ServiceManagerContext() {
|
| packaged_services_connection_->AddEmbeddedService(device::mojom::kServiceName,
|
| device_info);
|
|
|
| + ServiceInfo resource_coordinator_info;
|
| + resource_coordinator_info.factory =
|
| + base::Bind(&resource_coordinator::ResourceCoordinatorService::Create);
|
| + packaged_services_connection_->AddEmbeddedService(
|
| + resource_coordinator::mojom::kServiceName, resource_coordinator_info);
|
| +
|
| ContentBrowserClient::StaticServiceMap services;
|
| GetContentClient()->browser()->RegisterInProcessServices(&services);
|
| for (const auto& entry : services) {
|
|
|