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

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py

Issue 760653002: Telemetry --device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/core/platform/profiler/android_systrace_profiler.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py
index 0d3d668dca5a909b65735c9c1580d125a4602027..61052bb703c37144981ef2b734e64b937d1d2163 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py
@@ -8,7 +8,7 @@ import subprocess
import zipfile
from telemetry.core import util
-from telemetry.core.backends.chrome import android_browser_finder
+from telemetry.core.platform import android_device
from telemetry.core.platform import profiler
from telemetry.core.platform import tracing_options
@@ -51,7 +51,7 @@ class AndroidSystraceProfiler(profiler.Profiler):
@classmethod
def is_supported(cls, browser_type):
if browser_type == 'any':
- return android_browser_finder.CanFindAvailableBrowsers()
+ return android_device.CanFindAvailableBrowsers()
return browser_type.startswith('android')
def CollectProfile(self):

Powered by Google App Engine
This is Rietveld 408576698