Index: tools/telemetry/telemetry/core/chrome/platform.py |
diff --git a/tools/telemetry/telemetry/core/chrome/platform.py b/tools/telemetry/telemetry/core/chrome/platform.py |
index a528b2f8bd1b25d84ec32683a8d299d682190f3f..d7bb31359781fb0c3a9f61a1611f7e1cf262b430 100644 |
--- a/tools/telemetry/telemetry/core/chrome/platform.py |
+++ b/tools/telemetry/telemetry/core/chrome/platform.py |
@@ -50,29 +50,3 @@ class Platform(object): |
def HasBeenThermallyThrottled(self): |
"""Returns True if the device has been thermally throttled.""" |
return self._platform_backend.HasBeenThermallyThrottled() |
- |
- |
-def EmptyPlatform(): |
- class EmptyPlatformBackend(object): |
- def IsRawDisplayFrameRateSupported(self): |
- return False |
- |
- def StartRawDisplayFrameRateMeasurement(self, _): |
- return NotImplementedError() |
- |
- def StopRawDisplayFrameRateMeasurement(self): |
- return NotImplementedError() |
- |
- def SetFullPerformanceModeEnabled(self, enabled): |
- pass |
- |
- def CanMonitorThermalThrottling(self): |
- return False |
- |
- def IsThermallyThrottled(self): |
- return NotImplementedError() |
- |
- def HasBeenThermallyThrottled(self): |
- return NotImplementedError() |
- |
- return Platform(EmptyPlatformBackend()) |