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

Unified Diff: mojo/common/tracing_impl.h

Issue 1305193002: Trace-based benchmarking via a mojo app. (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
Index: mojo/common/tracing_impl.h
diff --git a/mojo/common/tracing_impl.h b/mojo/common/tracing_impl.h
index a996d5c4b281c424e34893d0f0d271408513a015..6ad14358803733bbc42b3d913146485d16469b5f 100644
--- a/mojo/common/tracing_impl.h
+++ b/mojo/common/tracing_impl.h
@@ -22,11 +22,17 @@ class TracingImpl : public InterfaceFactory<tracing::TraceProvider> {
// tracing data on demand.
void Initialize(ApplicationImpl* app);
+ void set_tracing_already_started(bool tracing_already_started) {
+ tracing_already_started_ = tracing_already_started;
+ }
+
private:
// InterfaceFactory<tracing::TraceProvider> implementation.
void Create(ApplicationConnection* connection,
InterfaceRequest<tracing::TraceProvider> request) override;
+ bool tracing_already_started_;
+
DISALLOW_COPY_AND_ASSIGN(TracingImpl);
};

Powered by Google App Engine
This is Rietveld 408576698