Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 class Device(object): | 6 class Device(object): |
| 7 """ A base class of devices. | 7 """ A base class of devices. |
| 8 A device instance contains all the necessary information for constructing | 8 A device instance contains all the necessary information for constructing |
| 9 a platform backend object for remote platforms. | 9 a platform backend object for remote platforms. |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 23 def name(self): | 23 def name(self): |
| 24 return self._name | 24 return self._name |
| 25 | 25 |
| 26 @property | 26 @property |
| 27 def guid(self): | 27 def guid(self): |
| 28 return self._guid | 28 return self._guid |
| 29 | 29 |
| 30 @classmethod | 30 @classmethod |
| 31 def GetAllConnectedDevices(cls): | 31 def GetAllConnectedDevices(cls): |
| 32 raise NotImplementedError() | 32 raise NotImplementedError() |
| 33 | |
| 34 def FindAllAvailableBrowsers(self, options): | |
|
nednguyen
2014/12/04 02:48:34
Why is this is a Device method? Device represents
| |
| 35 raise NotImplementedError() | |
| OLD | NEW |