Index: ash/system/chromeos/power/power_status.h |
diff --git a/ash/system/chromeos/power/power_status.h b/ash/system/chromeos/power/power_status.h |
index a5cf3aef5c9717ff1dc94e44adf8be82b40e0af2..3ac2de9b2110080e1969fc6b809a0a03763cba7c 100644 |
--- a/ash/system/chromeos/power/power_status.h |
+++ b/ash/system/chromeos/power/power_status.h |
@@ -62,6 +62,9 @@ class ASH_EXPORT PowerStatus : public chromeos::PowerManagerClient::Observer { |
static bool ShouldDisplayBatteryTime(const base::TimeDelta& time); |
// Copies the hour and minute components of |time| to |hours| and |minutes|. |
+ // The minute component is rounded rather than truncated: a |time| value |
+ // corresponding to 92 seconds will produce a |minutes| value of 2, for |
+ // example. |
static void SplitTimeIntoHoursAndMinutes(const base::TimeDelta& time, |
int* hours, |
int* minutes); |