| Index: tools/telemetry/telemetry/core/platform/cros_device.py
|
| diff --git a/tools/telemetry/telemetry/core/platform/cros_device.py b/tools/telemetry/telemetry/core/platform/cros_device.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c404f0c00d370bf1f614ba4767b41ae94d8d210f
|
| --- /dev/null
|
| +++ b/tools/telemetry/telemetry/core/platform/cros_device.py
|
| @@ -0,0 +1,27 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +import logging as real_logging
|
| +
|
| +from telemetry.core.platform import device
|
| +
|
| +
|
| +class CrOSDevice(device.Device):
|
| + def __init__(self, host_name, ssh_identity=None):
|
| + super(CrOSDevice, self).__init__(
|
| + name='ChromeOs with host %s' % host_name, device_id=host_name)
|
| + assert host_name
|
| + self._host_name = host_name
|
| + self._ssh_identity = ssh_identity
|
| +
|
| + @classmethod
|
| + def GetAllConnectedDevices(cls, logging=real_logging):
|
| + return []
|
| +
|
| + @property
|
| + def host_name(self):
|
| + return self._host_name
|
| +
|
| + @property
|
| + def ssh_identity(self):
|
| + return self._ssh_identity
|
|
|