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

Unified Diff: components/metrics/call_stack_profile_collector.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 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
Index: components/metrics/call_stack_profile_collector.h
diff --git a/components/metrics/call_stack_profile_collector.h b/components/metrics/call_stack_profile_collector.h
index 6eeb6a87b446a01423d3bba6c62e342b55d65412..80f391742be19b3e1d2c31f175ed2e84d4b7f2fd 100644
--- a/components/metrics/call_stack_profile_collector.h
+++ b/components/metrics/call_stack_profile_collector.h
@@ -8,6 +8,10 @@
#include "base/macros.h"
#include "components/metrics/public/interfaces/call_stack_profile_collector.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace metrics {
class CallStackProfileCollector : public mojom::CallStackProfileCollector {
@@ -20,6 +24,7 @@ class CallStackProfileCollector : public mojom::CallStackProfileCollector {
// Create a collector to receive profiles from |expected_process|.
static void Create(CallStackProfileParams::Process expected_process,
+ const service_manager::BindSourceInfo& source_info,
mojom::CallStackProfileCollectorRequest request);
// mojom::CallStackProfileCollector:

Powered by Google App Engine
This is Rietveld 408576698