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

Unified Diff: services/tracing/public/cpp/provider.h

Issue 2427013002: Make tracing work in service manager (Closed)
Patch Set: . Created 4 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
Index: services/tracing/public/cpp/provider.h
diff --git a/services/tracing/public/cpp/provider.h b/services/tracing/public/cpp/provider.h
index 4b305d4aa5f26c87183e0d64758a7203db25ef76..960499ab8a7d5d0a9bc7b45f527fe9a5c766b971 100644
--- a/services/tracing/public/cpp/provider.h
+++ b/services/tracing/public/cpp/provider.h
@@ -24,12 +24,15 @@ class Provider : public mojom::Provider {
Provider();
~Provider() override;
+ void InitializeWithFactory(mojom::FactoryPtr* factory);
void Initialize(service_manager::Connector* connector,
const std::string& url);
void Bind(mojom::ProviderRequest request);
private:
+ void InitializeWithFactoryLocked(mojom::FactoryPtr* factory);
+
// mojom::Provider implementation:
void StartTracing(const std::string& categories,
mojom::RecorderPtr recorder) override;

Powered by Google App Engine
This is Rietveld 408576698