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

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

Issue 2832633002: Add PDF compositor service (Closed)
Patch Set: rebase again 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/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..0cf41338d53b1727e62d81e01bf73f0977f0063b 100644
--- a/content/browser/service_manager/service_manager_context.cc
+++ b/content/browser/service_manager/service_manager_context.cc
@@ -4,6 +4,7 @@
#include "content/browser/service_manager/service_manager_context.h"
+#include <map>
#include <memory>
#include <string>
#include <utility>
@@ -70,6 +71,7 @@ void StartServiceInUtilityProcess(
if (!use_sandbox)
process_host->DisableSandbox();
process_host->Start();
+ process_host->RegisterMojoServices();
service_manager::mojom::ServiceFactoryPtr service_factory;
BindInterface(process_host, mojo::MakeRequest(&service_factory));
service_factory->CreateService(std::move(request), service_name);

Powered by Google App Engine
This is Rietveld 408576698