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

Unified Diff: mojo/services/tracing/tracing_app.cc

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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 | « mojo/services/tracing/tracing_app.h ('k') | mojo/shell/application_manager_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/tracing/tracing_app.cc
diff --git a/mojo/services/tracing/tracing_app.cc b/mojo/services/tracing/tracing_app.cc
index 13829b63072a6dd16fcb52d2724c16ded70969ed..09d1f3b74f671ab8614b575ccecf4d555371f565 100644
--- a/mojo/services/tracing/tracing_app.cc
+++ b/mojo/services/tracing/tracing_app.cc
@@ -12,7 +12,6 @@
#include "base/bind.h"
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
-#include "mojo/shell/public/cpp/application_connection.h"
namespace tracing {
@@ -22,8 +21,7 @@ TracingApp::TracingApp() : collector_binding_(this), tracing_active_(false) {
TracingApp::~TracingApp() {
}
-bool TracingApp::AcceptConnection(
- mojo::ApplicationConnection* connection) {
+bool TracingApp::AcceptConnection(mojo::Connection* connection) {
connection->AddService<TraceCollector>(this);
connection->AddService<StartupPerformanceDataCollector>(this);
@@ -44,13 +42,13 @@ bool TracingApp::AcceptConnection(
return true;
}
-void TracingApp::Create(mojo::ApplicationConnection* connection,
+void TracingApp::Create(mojo::Connection* connection,
mojo::InterfaceRequest<TraceCollector> request) {
collector_binding_.Bind(std::move(request));
}
void TracingApp::Create(
- mojo::ApplicationConnection* connection,
+ mojo::Connection* connection,
mojo::InterfaceRequest<StartupPerformanceDataCollector> request) {
startup_performance_data_collector_bindings_.AddBinding(this,
std::move(request));
« no previous file with comments | « mojo/services/tracing/tracing_app.h ('k') | mojo/shell/application_manager_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698