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

Unified Diff: mojo/services/surfaces/surfaces_service_application.cc

Issue 769963004: Add tracing service and make the shell+sky_viewer+services talk to it (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « mojo/services/surfaces/surfaces_service_application.h ('k') | mojo/services/view_manager/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/surfaces/surfaces_service_application.cc
diff --git a/mojo/services/surfaces/surfaces_service_application.cc b/mojo/services/surfaces/surfaces_service_application.cc
index 46313074f9f7ffde8316d4122b79880c10bd192f..29390755bf24ff276dc3b86b3e32d4145ad868de 100644
--- a/mojo/services/surfaces/surfaces_service_application.cc
+++ b/mojo/services/surfaces/surfaces_service_application.cc
@@ -6,6 +6,7 @@
#include "cc/surfaces/display.h"
#include "mojo/application/application_runner_chromium.h"
+#include "mojo/common/tracing_impl.h"
#include "mojo/public/c/system/main.h"
#include "mojo/services/surfaces/surfaces_service_impl.h"
@@ -21,6 +22,10 @@ SurfacesServiceApplication::SurfacesServiceApplication()
SurfacesServiceApplication::~SurfacesServiceApplication() {
}
+void SurfacesServiceApplication::Initialize(ApplicationImpl* app) {
+ TracingImpl::Create(app);
+}
+
bool SurfacesServiceApplication::ConfigureIncomingConnection(
ApplicationConnection* connection) {
connection->AddService(this);
« no previous file with comments | « mojo/services/surfaces/surfaces_service_application.h ('k') | mojo/services/view_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698