| Index: content/utility/utility_service_factory.cc
|
| diff --git a/content/utility/utility_service_factory.cc b/content/utility/utility_service_factory.cc
|
| index 517c9d958fcb2ecabd9cabf8ebfd46b150222732..5678a1b9a09ffa30a294bd5b58e7785cfd4df7b9 100644
|
| --- a/content/utility/utility_service_factory.cc
|
| +++ b/content/utility/utility_service_factory.cc
|
| @@ -9,6 +9,7 @@
|
| #include "content/child/child_process.h"
|
| #include "content/network/network_service.h"
|
| #include "content/public/common/content_client.h"
|
| +#include "content/public/common/content_features.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/service_names.mojom.h"
|
| #include "content/public/utility/content_utility_client.h"
|
| @@ -107,8 +108,7 @@ void UtilityServiceFactory::RegisterServices(ServiceMap* services) {
|
| services->insert(
|
| std::make_pair(data_decoder::mojom::kServiceName, data_decoder_info));
|
|
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableNetworkService)) {
|
| + if (base::FeatureList::IsEnabled(features::kNetworkService)) {
|
| GetContentClient()->utility()->RegisterNetworkBinders(
|
| network_registry_.get());
|
| service_manager::EmbeddedServiceInfo network_info;
|
|
|