Chromium Code Reviews| Index: components/metrics/metrics_service_client.h |
| diff --git a/components/metrics/metrics_service_client.h b/components/metrics/metrics_service_client.h |
| index 1b481f998830ad4fdf746adfde3213e8e0107ccd..d33ad8539900baca1694446c7db49434a50d8cf0 100644 |
| --- a/components/metrics/metrics_service_client.h |
| +++ b/components/metrics/metrics_service_client.h |
| @@ -29,6 +29,10 @@ class MetricsServiceClient { |
| // when metrics recording gets enabled. |
| virtual void SetMetricsClientId(const std::string& client_id) = 0; |
| + // Notifies the client that recording is disabled, so that other services |
| + // (such as crash reporting) can clear any association with metrics. |
| + virtual void RecordingDisabled() = 0; |
|
Ilya Sherman
2015/03/24 00:22:23
nit: Let's name this "OnRecordingDisabled", to emp
|
| + |
| // Whether there's an "off the record" (aka "Incognito") session active. |
| virtual bool IsOffTheRecordSessionActive() = 0; |