Index: tools/telemetry/telemetry/core/possible_app.py |
diff --git a/tools/telemetry/telemetry/core/possible_app.py b/tools/telemetry/telemetry/core/possible_app.py |
index 9e065dc21d0aa6f170337c6b728d519e6fdadb63..07c6a26d4759c8327a0a65883e733c762c336998 100644 |
--- a/tools/telemetry/telemetry/core/possible_app.py |
+++ b/tools/telemetry/telemetry/core/possible_app.py |
@@ -9,9 +9,10 @@ class PossibleApp(object): |
Call Create() to launch the app and begin manipulating it. |
""" |
- def __init__(self, app_type, target_os): |
+ def __init__(self, app_type, target_os, device_id): |
self._app_type = app_type |
self._target_os = target_os |
+ self._device_id = device_id |
self._platform = None |
self._platform_backend = None |
@@ -28,6 +29,11 @@ class PossibleApp(object): |
return self._target_os |
@property |
+ def device_id(self): |
+ """The ID of the device the app will run on.""" |
+ return self._device_id |
+ |
+ @property |
def platform(self): |
self._InitPlatformIfNeeded() |
return self._platform |