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

Unified Diff: shell/context.h

Issue 1105773002: Teach the mojo_shell --trace-startup flag to gather data from services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « shell/android/main.cc ('k') | shell/context.cc » ('j') | shell/tracer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/context.h
diff --git a/shell/context.h b/shell/context.h
index 73ad3a433f23082501479d6eccbc26b5995e8f94..eab1407cb862c3821ae2ea68c60ee522c05f5931 100644
--- a/shell/context.h
+++ b/shell/context.h
@@ -14,14 +14,13 @@
#include "shell/url_resolver.h"
namespace shell {
-
-class NativeApplicationLoader;
+class Tracer;
// The "global" context for the shell's main process.
class Context : public ApplicationManager::Delegate,
public mojo::embedder::ProcessDelegate {
public:
- Context();
+ explicit Context(Tracer* tracer = nullptr);
~Context() override;
static void EnsureEmbedderIsInitialized();
@@ -79,6 +78,7 @@ class Context : public ApplicationManager::Delegate,
void OnApplicationEnd(const GURL& url);
+ Tracer* const tracer_;
ApplicationManager application_manager_;
URLResolver url_resolver_;
« no previous file with comments | « shell/android/main.cc ('k') | shell/context.cc » ('j') | shell/tracer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698