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

Unified Diff: components/metrics/clean_exit_beacon.h

Issue 2687393004: Gather stability prefs into managing objects. (Closed)
Patch Set: Remove unused method Created 3 years, 10 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/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_;

Powered by Google App Engine
This is Rietveld 408576698