Chromium Code Reviews| Index: components/metrics/clean_exit_beacon.h |
| diff --git a/components/metrics/clean_exit_beacon.h b/components/metrics/clean_exit_beacon.h |
| index 6b896fa17845a39afb490c123bf7b2cb0f4c2c0d..87a35a686a43fb3d893a3f683bf7d3834df324ae 100644 |
| --- a/components/metrics/clean_exit_beacon.h |
| +++ b/components/metrics/clean_exit_beacon.h |
| @@ -9,6 +9,7 @@ |
| #include "base/strings/string16.h" |
| class PrefService; |
| +class PrefRegistrySimple; |
|
rkaplow
2017/02/14 20:11:19
nit alpha
Steven Holte
2017/02/15 22:42:09
Done.
|
| namespace metrics { |
| @@ -32,6 +33,9 @@ class CleanExitBeacon { |
| // Writes the provided beacon value. |
| void WriteBeaconValue(bool exited_cleanly); |
| + // Registers local state prefs used by this class. |
| + static void RegisterPrefs(PrefRegistrySimple* registry); |
| + |
| private: |
| PrefService* const local_state_; |
| const bool initial_value_; |