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

Unified Diff: mojo/common/dart/lib/tracing_helper.dart

Issue 1284293003: Rename tracing interfaces. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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/common/dart/lib/trace_provider_impl.dart ('k') | mojo/common/trace_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/dart/lib/tracing_helper.dart
diff --git a/mojo/common/dart/lib/tracing_helper.dart b/mojo/common/dart/lib/tracing_helper.dart
index 0c88c15677283a93aad327e3035b711278f270cf..23c121b4592408b1e83185eb8509912d816f105d 100644
--- a/mojo/common/dart/lib/tracing_helper.dart
+++ b/mojo/common/dart/lib/tracing_helper.dart
@@ -4,7 +4,7 @@
library tracing;
-import 'trace_controller_impl.dart';
+import 'trace_provider_impl.dart';
import 'dart:async';
import 'dart:convert';
@@ -20,7 +20,7 @@ import 'package:mojo_services/tracing/tracing.mojom.dart';
// TracingHelper is used by Dart code running in the Mojo shell in order
// to perform tracing.
class TracingHelper {
- TraceControllerImpl _impl;
+ TraceProviderImpl _impl;
String _tid;
// Construct an instance of TracingHelper from within your application's
@@ -36,9 +36,9 @@ class TracingHelper {
}
_tid = "${appName}/${Isolate.current.hashCode.toString()}";
ApplicationConnection connection = app.connectToApplication("mojo:tracing");
- connection.provideService(TraceControllerName, (e) {
+ connection.provideService(TraceProviderName, (e) {
assert(_impl == null);
- _impl = new TraceControllerImpl.fromEndpoint(e);
+ _impl = new TraceProviderImpl.fromEndpoint(e);
});
}
« no previous file with comments | « mojo/common/dart/lib/trace_provider_impl.dart ('k') | mojo/common/trace_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698