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

Unified Diff: content/browser/service_manager/service_manager_context.cc

Issue 2854713002: Network service: start the process as early as possible. (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 42f062465d519064d0faa83b88ca66a316308781..0aa2176f4fad93c2f02837b4bae6d7435b691779 100644
--- a/content/browser/service_manager/service_manager_context.cc
+++ b/content/browser/service_manager/service_manager_context.cc
@@ -357,6 +357,11 @@ ServiceManagerContext::ServiceManagerContext() {
packaged_services_connection_->Start();
ServiceManagerConnection::GetForProcess()->Start();
+
+ // Start the network service process as soon as possible, since it is critical
+ // to start up performance.
+ ServiceManagerConnection::GetForProcess()->GetConnector()->StartService(
+ mojom::kNetworkServiceName);
}
ServiceManagerContext::~ServiceManagerContext() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698