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

Unified Diff: services/tracing/tracing_app.cc

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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 | « services/tracing/tracing_app.h ('k') | services/ui/demo/mus_demo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/tracing_app.cc
diff --git a/services/tracing/tracing_app.cc b/services/tracing/tracing_app.cc
index 2dff117753aff7c297084b77d7a6b03616e717fa..e6ea96ec8b5580a0067dd52565257650ee3280e8 100644
--- a/services/tracing/tracing_app.cc
+++ b/services/tracing/tracing_app.cc
@@ -21,7 +21,7 @@ TracingApp::TracingApp() : collector_binding_(this), tracing_active_(false) {
TracingApp::~TracingApp() {
}
-bool TracingApp::AcceptConnection(shell::Connection* connection) {
+bool TracingApp::OnConnect(shell::Connection* connection) {
connection->AddInterface<TraceCollector>(this);
connection->AddInterface<StartupPerformanceDataCollector>(this);
@@ -42,7 +42,7 @@ bool TracingApp::AcceptConnection(shell::Connection* connection) {
return true;
}
-bool TracingApp::ShellConnectionLost() {
+bool TracingApp::OnStop() {
// TODO(beng): This is only required because TracingApp isn't run by
// ApplicationRunner - instead it's launched automatically by the standalone
// shell. It shouldn't be.
« no previous file with comments | « services/tracing/tracing_app.h ('k') | services/ui/demo/mus_demo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698