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

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

Issue 2885363004: [Hacky prototype] Create a shared-memory high-performance reporting service.
Patch Set: Created 3 years, 7 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 9cfb2e1ee72ff3489c82cc8080990babf00e6b8a..5c48ca5a995995e656097d1c1209a5ae70c7c44a 100644
--- a/content/browser/service_manager/service_manager_context.cc
+++ b/content/browser/service_manager/service_manager_context.cc
@@ -35,6 +35,8 @@
#include "services/catalog/manifest_provider.h"
#include "services/catalog/public/cpp/manifest_parsing_util.h"
#include "services/catalog/public/interfaces/constants.mojom.h"
+#include "services/blamer/blamer_service.h"
+#include "services/blamer/public/interfaces/service_constants.mojom.h"
#include "services/catalog/store.h"
#include "services/data_decoder/public/interfaces/constants.mojom.h"
#include "services/device/device_service.h"
@@ -302,6 +304,12 @@ ServiceManagerContext::ServiceManagerContext() {
packaged_services_connection_->AddEmbeddedService(device::mojom::kServiceName,
device_info);
+ // Create the blamer service.
+ ServiceInfo blamer_info;
+ blamer_info.factory = base::Bind(&blamer::BlamerService::Create);
+ packaged_services_connection_->AddEmbeddedService(
+ blamer::mojom::kServiceName, blamer_info);
+
ContentBrowserClient::StaticServiceMap services;
GetContentClient()->browser()->RegisterInProcessServices(&services);
for (const auto& entry : services) {

Powered by Google App Engine
This is Rietveld 408576698