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

Unified Diff: build/android/pylib/perf/perf_control.py

Issue 1261763004: Remove handling code for android_command in pylib. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove 2 more TODO comments Created 5 years, 5 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 | « build/android/pylib/perf/cache_control.py ('k') | build/android/pylib/perf/surface_stats_collector.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/perf/perf_control.py
diff --git a/build/android/pylib/perf/perf_control.py b/build/android/pylib/perf/perf_control.py
index b6bf9143d247bed3f4268b7307cf69360af65e28..f7e9b518af32d31dea13e63f095d0edd9bdf659b 100644
--- a/build/android/pylib/perf/perf_control.py
+++ b/build/android/pylib/perf/perf_control.py
@@ -5,7 +5,6 @@
import atexit
import logging
-from pylib import android_commands
from pylib.device import device_errors
from pylib.device import device_utils
@@ -16,8 +15,6 @@ class PerfControl(object):
_KERNEL_MAX = '/sys/devices/system/cpu/kernel_max'
def __init__(self, device):
- # TODO(jbudorick) Remove once telemetry gets switched over.
- assert not isinstance(device, android_commands.AndroidCommands)
self._device = device
# this will raise an AdbCommandFailedError if no CPU files are found
self._cpu_files = self._device.RunShellCommand(
« no previous file with comments | « build/android/pylib/perf/cache_control.py ('k') | build/android/pylib/perf/surface_stats_collector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698