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

Unified Diff: tools/telemetry/telemetry/core/platform/cros_platform_backend.py

Issue 602633002: Make device=None default argument of CrosPlatformBackend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/platform/cros_platform_backend.py
diff --git a/tools/telemetry/telemetry/core/platform/cros_platform_backend.py b/tools/telemetry/telemetry/core/platform/cros_platform_backend.py
index 26b665a0d270a57267cea3b7f2dc548d107f8e2a..1283bbc87d525c3958c07d73b47e4d3953d38d63 100644
--- a/tools/telemetry/telemetry/core/platform/cros_platform_backend.py
+++ b/tools/telemetry/telemetry/core/platform/cros_platform_backend.py
@@ -12,7 +12,7 @@ from telemetry.core.platform.power_monitor import cros_power_monitor
class CrosPlatformBackend(
linux_based_platform_backend.LinuxBasedPlatformBackend):
- def __init__(self, device):
+ def __init__(self, device=None):
super(CrosPlatformBackend, self).__init__(device)
if device:
self._cri = cros_interface.CrOSInterface(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698