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

Unified Diff: components/metrics/call_stack_profile_metrics_provider.h

Issue 1030923002: StackSamplingProfiler clean up (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: rebase and update components/metrics Created 5 years, 9 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 a2bb0f85a31bd8de9d0c53ad4d138ed1940aed4a..6d5ff8ccab362ead89d94c8ec8f62db03f8ff643 100644
--- a/components/metrics/call_stack_profile_metrics_provider.h
+++ b/components/metrics/call_stack_profile_metrics_provider.h
@@ -26,10 +26,12 @@ class CallStackProfileMetricsProvider : public MetricsProvider {
// ProvideGeneralMetrics, rather than sourcing them from the
// StackSamplingProfiler.
void SetSourceProfilesForTesting(
- const std::vector<base::StackSamplingProfiler::Profile>& profiles);
+ const std::vector<base::StackSamplingProfiler::CallStackProfile>&
+ profiles);
private:
- std::vector<base::StackSamplingProfiler::Profile> source_profiles_for_test_;
+ std::vector<base::StackSamplingProfiler::CallStackProfile>
+ source_profiles_for_test_;
DISALLOW_COPY_AND_ASSIGN(CallStackProfileMetricsProvider);
};

Powered by Google App Engine
This is Rietveld 408576698