Provides an interface to register power consumption during a test.
"""
- def CanMonitorPowerAsync(self):
+ def CanMonitorPower(self):
"""Returns True iff power can be monitored asynchronously via
- StartMonitoringPowerAsync() and StopMonitoringPowerAsync().
+ StartMonitoringPower() and StopMonitoringPower().
"""
return False
- def StartMonitoringPowerAsync(self):
- """Starts monitoring power utilization statistics."""
+ def StartMonitoringPower(self, browser):
+ """Starts monitoring power utilization statistics.
+
+ See Platform#StartMonitoringPower for the arguments format.
+ """
raise NotImplementedError()
- def StopMonitoringPowerAsync(self):
+ def StopMonitoringPower(self):
"""Stops monitoring power utilization and returns collects stats
- See Platform#StopMonitoringPowerAsync for the return format.
+ See Platform#StopMonitoringPower for the return format.
"""
raise NotImplementedError()