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

Unified Diff: examples/dart/traced_application/lib/main.dart

Issue 1401853005: Dart: Makes timing of sending trace events configurable. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | mojo/common/dart/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/dart/traced_application/lib/main.dart
diff --git a/examples/dart/traced_application/lib/main.dart b/examples/dart/traced_application/lib/main.dart
index 727b46cc81d548947d54e117290138cdd85db3b8..6ef40987865ef920ccae0c5aa873e1ecfac0d849 100644
--- a/examples/dart/traced_application/lib/main.dart
+++ b/examples/dart/traced_application/lib/main.dart
@@ -29,8 +29,8 @@ class TestUsingTracingApp extends Application {
void initialize(List<String> args, String url) {
// This sets up a connection between this application and the Mojo
// tracing service.
- _tracing =
- new TracingHelper.fromApplication(this, "example_traced_application");
+ _tracing = new TracingHelper.fromApplication(
+ this, "example_traced_application", TraceSendTiming.AT_END);
_tracing.traceInstant("initialized", "traced_application");
// Now we schedule some random work just so we have something to trace.
« no previous file with comments | « no previous file | mojo/common/dart/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698