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

Unified Diff: chrome/app/mash/embedded_services.cc

Issue 2833873003: WIP: The tracing service prototype
Patch Set: sync 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
« no previous file with comments | « chrome/app/mash/DEPS ('k') | components/tracing/child/child_trace_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/mash/embedded_services.cc
diff --git a/chrome/app/mash/embedded_services.cc b/chrome/app/mash/embedded_services.cc
index 88f5152aa5fd36d5c32dbd3811331f2fb8c7487d..fe56b28b04a32e77aeabcb5486a8e29119820ce6 100644
--- a/chrome/app/mash/embedded_services.cc
+++ b/chrome/app/mash/embedded_services.cc
@@ -13,6 +13,8 @@
#include "mash/session/session.h"
#include "mash/task_viewer/public/interfaces/constants.mojom.h"
#include "mash/task_viewer/task_viewer.h"
+#include "services/resource_coordinator/public/interfaces/tracing/tracing_constants.mojom.h"
+#include "services/resource_coordinator/tracing/service.h"
#include "services/ui/ime/test_ime_driver/test_ime_application.h"
#include "services/ui/public/interfaces/constants.mojom.h"
#include "services/ui/service.h"
@@ -53,6 +55,8 @@ std::unique_ptr<service_manager::Service> CreateEmbeddedMashService(
return base::MakeUnique<mash::task_viewer::TaskViewer>();
if (service_name == "test_ime_driver")
return base::MakeUnique<ui::test::TestIMEApplication>();
+ if (service_name == resource_coordinator::tracing::mojom::kServiceName)
+ return base::MakeUnique<resource_coordinator::tracing::Service>();
#if defined(OS_LINUX) && !defined(OS_ANDROID)
if (service_name == "font_service")
return base::MakeUnique<font_service::FontServiceApp>();
« no previous file with comments | « chrome/app/mash/DEPS ('k') | components/tracing/child/child_trace_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698