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

Unified Diff: examples/trace_me/trace_me_app.cc

Issue 2014043002: Make TracingImpl take a Shell* and args, instead of an ApplicationImpl*. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | « examples/echo/echo_benchmark.cc ('k') | mojo/common/tracing_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/trace_me/trace_me_app.cc
diff --git a/examples/trace_me/trace_me_app.cc b/examples/trace_me/trace_me_app.cc
index b26b0046280e07d9a090d2a95e5079b95df9d81f..81887cf43dc9d83e404b661e4878f8f717c1569f 100644
--- a/examples/trace_me/trace_me_app.cc
+++ b/examples/trace_me/trace_me_app.cc
@@ -53,7 +53,7 @@ class TraceMeApp : public mojo::ApplicationDelegate {
void Initialize(mojo::ApplicationImpl* app) override {
// Allow TracingImpl to connect to the central tracing service, advertising
// its ability to provide trace events.
- tracing_.Initialize(app);
+ tracing_.Initialize(app->shell(), &app->args());
TRACE_EVENT0("trace_me", "initialized");
« no previous file with comments | « examples/echo/echo_benchmark.cc ('k') | mojo/common/tracing_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698