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

Unified Diff: components/metrics/call_stack_profile_metrics_provider.h

Issue 2438073002: Use movable types for CallStackProfile(s) to remove copying of data. (Closed)
Patch Set: fix tests and build problems 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: components/metrics/call_stack_profile_metrics_provider.h
diff --git a/components/metrics/call_stack_profile_metrics_provider.h b/components/metrics/call_stack_profile_metrics_provider.h
index d26000be087ba95a7242dd8c945431f2105b9229..ab13d46d126b6930d715e40143c2b8778eafac96 100644
--- a/components/metrics/call_stack_profile_metrics_provider.h
+++ b/components/metrics/call_stack_profile_metrics_provider.h
@@ -35,7 +35,7 @@ class CallStackProfileMetricsProvider : public MetricsProvider {
static void ReceiveCompletedProfiles(
const CallStackProfileParams& params,
base::TimeTicks start_timestamp,
- const base::StackSamplingProfiler::CallStackProfiles& profiles);
+ base::StackSamplingProfiler::CallStackProfiles profiles);
// MetricsProvider:
void OnRecordingEnabled() override;

Powered by Google App Engine
This is Rietveld 408576698