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

Unified Diff: chrome/browser/metrics/metrics_service.h

Issue 25484004: Don't commit prefs::kStabilitySessionEndCompleted change immediately on chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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: chrome/browser/metrics/metrics_service.h
diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h
index a35da3dbf886360390658c2935f181a1fd22d1de..6dfa6482bc092c23c2c3bcd756a3754d8dcbab1f 100644
--- a/chrome/browser/metrics/metrics_service.h
+++ b/chrome/browser/metrics/metrics_service.h
@@ -367,8 +367,9 @@ class MetricsService
// Records a renderer process hang.
void LogRendererHang();
- // Records that the browser was shut down cleanly.
- void LogCleanShutdown();
+ // Records that the browser was shutdown cleanly, and the value of
+ // |kStatabilitySessionEndCompleted|.
jar (doing other things) 2013/10/11 22:55:44 nit: I think you didn't finish this sentence. A
+ void RecordStabilitySessionEndCompleted(bool value);
// Returns reference to ChildProcessStats corresponding to |data|.
ChildProcessStats& GetChildProcessStats(
@@ -389,9 +390,6 @@ class MetricsService
// Checks whether a notification can be logged.
bool CanLogNotification();
- // Sets the value of the specified path in prefs and schedules a save.
- void RecordBooleanPrefValue(const char* path, bool value);
-
// Returns true if process of type |type| should be counted as a plugin
// process, and false otherwise.
static bool IsPluginProcess(int process_type);

Powered by Google App Engine
This is Rietveld 408576698