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

Unified Diff: tools/telemetry/telemetry/internal/platform/device.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: tools/telemetry/telemetry/internal/platform/device.py
diff --git a/tools/telemetry/telemetry/internal/platform/device.py b/tools/telemetry/telemetry/internal/platform/device.py
deleted file mode 100644
index 34ca721189b86a4678872a14377b1b6808fed7f0..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/internal/platform/device.py
+++ /dev/null
@@ -1,32 +0,0 @@
-# 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.
-
-
-class Device(object):
- """ A base class of devices.
- A device instance contains all the necessary information for constructing
- a platform backend object for remote platforms.
-
- Attributes:
- name: A device name string in human-understandable term.
- guid: A unique id of the device. Subclass of device must specify this
- id properly so that device objects to a same actual device must have same
- guid.
- """
-
- def __init__(self, name, guid):
- self._name = name
- self._guid = guid
-
- @property
- def name(self):
- return self._name
-
- @property
- def guid(self):
- return self._guid
-
- @classmethod
- def GetAllConnectedDevices(cls, blacklist):
- raise NotImplementedError()

Powered by Google App Engine
This is Rietveld 408576698