OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_ |
| 7 |
| 8 #include "components/metrics/metrics_provider.h" |
| 9 |
| 10 namespace metrics { |
| 11 class ChromeUserMetricsExtension; |
| 12 } |
| 13 |
| 14 // Performs metrics logging for the stack sampling profiler. |
| 15 class CallStackProfileMetricsProvider : public metrics::MetricsProvider { |
| 16 public: |
| 17 CallStackProfileMetricsProvider(); |
| 18 ~CallStackProfileMetricsProvider() override; |
| 19 |
| 20 // metrics::MetricsProvider: |
| 21 void ProvideGeneralMetrics( |
| 22 metrics::ChromeUserMetricsExtension* uma_proto) override; |
| 23 |
| 24 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(CallStackProfileMetricsProvider); |
| 26 }; |
| 27 |
| 28 #endif // CHROME_BROWSER_METRICS_CALL_STACK_PROFILE_METRICS_PROVIDER_H_ |
OLD | NEW |