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

Unified Diff: tools/android/adb_profile_chrome/systrace_controller.py

Issue 333933003: [Android] Switch to DeviceUtils version of RunShellCommand. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 6 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/android/adb_profile_chrome/systrace_controller.py
diff --git a/tools/android/adb_profile_chrome/systrace_controller.py b/tools/android/adb_profile_chrome/systrace_controller.py
index 369bc88ea31fa6ba402233cb4d3d6ebd691dc2de..3ec4cc7d754b3b2df9c060e2e2e8f4e93d9d649b 100644
--- a/tools/android/adb_profile_chrome/systrace_controller.py
+++ b/tools/android/adb_profile_chrome/systrace_controller.py
@@ -37,7 +37,7 @@ class SystraceController(controllers.BaseController):
@staticmethod
def GetCategories(device):
- return device.old_interface.RunShellCommand('atrace --list_categories')
+ return device.RunShellCommand('atrace --list_categories')
def StartTracing(self, _):
self._thread = threading.Thread(target=self._CollectData)

Powered by Google App Engine
This is Rietveld 408576698