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

Unified Diff: components/metrics/metrics_service.h

Issue 2578363003: Inline RecordBooleanPrefValue to LogCleanShutdown. (Closed)
Patch Set: RecordCurrentState Created 4 years 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
« no previous file with comments | « no previous file | components/metrics/metrics_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_service.h
diff --git a/components/metrics/metrics_service.h b/components/metrics/metrics_service.h
index 562f465c69873e48a0f64cad76369ed2cad15629..abfe507da14c94c6e86fc08df431598bfb2ad8aa 100644
--- a/components/metrics/metrics_service.h
+++ b/components/metrics/metrics_service.h
@@ -361,15 +361,12 @@ class MetricsService : public base::HistogramFlattener {
void IncrementLongPrefsValue(const char* path);
// Records that the browser was shut down cleanly.
- void LogCleanShutdown();
+ void LogCleanShutdown(bool end_completed);
// Records state that should be periodically saved, like uptime and
// buffered plugin stability statistics.
void RecordCurrentState(PrefService* pref);
- // Sets the value of the specified path in prefs and schedules a save.
- void RecordBooleanPrefValue(const char* path, bool value);
-
// Notifies observers on a synthetic trial list change.
void NotifySyntheticTrialObservers();
« no previous file with comments | « no previous file | components/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698