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

Unified Diff: mojo/services/view_manager/view_manager_app.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/view_manager/view_manager_app.h ('k') | mojo/services/window_manager/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/view_manager_app.cc
diff --git a/mojo/services/view_manager/view_manager_app.cc b/mojo/services/view_manager/view_manager_app.cc
index 5fa9e110157e8e1c33d867088a567188aad3642d..955c7e27c517b86042fc032eba95b06ac1c8b660 100644
--- a/mojo/services/view_manager/view_manager_app.cc
+++ b/mojo/services/view_manager/view_manager_app.cc
@@ -5,6 +5,7 @@
#include "mojo/services/view_manager/view_manager_app.h"
#include "mojo/application/application_runner_chromium.h"
+#include "mojo/common/tracing_impl.h"
#include "mojo/public/c/system/main.h"
#include "mojo/public/cpp/application/application_connection.h"
#include "mojo/public/cpp/application/application_impl.h"
@@ -20,6 +21,10 @@ ViewManagerApp::ViewManagerApp() : wm_app_connection_(nullptr) {
}
ViewManagerApp::~ViewManagerApp() {}
+void ViewManagerApp::Initialize(ApplicationImpl* app) {
+ TracingImpl::Create(app);
+}
+
bool ViewManagerApp::ConfigureIncomingConnection(
ApplicationConnection* connection) {
if (connection_manager_.get()) {
« no previous file with comments | « mojo/services/view_manager/view_manager_app.h ('k') | mojo/services/window_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698