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

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

Issue 25364002: Add multi_profile_user_count field to system_profile proto. (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
« no previous file with comments | « no previous file | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_log.h
diff --git a/chrome/browser/metrics/metrics_log.h b/chrome/browser/metrics/metrics_log.h
index fe06b61f03caf343887f796cef4c3929256e6ef5..d9285ffdacac977287abf7e05b7eb5d0002e8e6c 100644
--- a/chrome/browser/metrics/metrics_log.h
+++ b/chrome/browser/metrics/metrics_log.h
@@ -184,6 +184,13 @@ class MetricsLog : public MetricsLogBase {
// This is a no-op if called on a non-Chrome OS platform.
void WriteBluetoothProto(metrics::SystemProfileProto::Hardware* hardware);
+#if defined(OS_CHROMEOS)
+ // Update the number of users logged into a multi-profile session.
+ // If the number of users change while the log is open, the call invalidates
+ // the user count value.
+ void UpdateMultiProfileUserCount();
+#endif
+
// Observes network state to provide values for SystemProfile::Network.
MetricsNetworkObserver network_observer_;
« no previous file with comments | « no previous file | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698