| Index: chromecast/browser/metrics/external_metrics.h
|
| diff --git a/chromecast/browser/metrics/external_metrics.h b/chromecast/browser/metrics/external_metrics.h
|
| index 47c74f3eebe26181148211fa67e87f84d529dee1..dd125e211b6609ea227e9415749edd3384c0b22c 100644
|
| --- a/chromecast/browser/metrics/external_metrics.h
|
| +++ b/chromecast/browser/metrics/external_metrics.h
|
| @@ -24,13 +24,19 @@ class CastStabilityMetricsProvider;
|
| class ExternalMetrics {
|
| public:
|
| explicit ExternalMetrics(CastStabilityMetricsProvider* stability_provider);
|
| - ~ExternalMetrics();
|
|
|
| // Begins external data collection. Calls to RecordAction originate in the
|
| // File thread but are executed in the UI thread.
|
| void Start();
|
|
|
| + // Destroys itself in appropriate thread.
|
| + void StopAndDestroy();
|
| +
|
| private:
|
| + friend class base::DeleteHelper<ExternalMetrics>;
|
| +
|
| + ~ExternalMetrics();
|
| +
|
| // The max length of a message (name-value pair, plus header)
|
| static const int kMetricsMessageMaxLength = 1024; // be generous
|
|
|
|
|