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

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.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/telemetry/telemetry/core/platform/profiler/netlog_profiler.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py
index c3d8ef059461773ffcbd2293cf7b057c6494c5bf..0e3115afc0b1b9cca3c214a703e45b4935b1fa97 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py
@@ -38,8 +38,7 @@ class NetLogProfiler(profiler.Profiler):
self._browser_backend.adb.device().old_interface.Adb().Pull(
output_file, host_output_file)
# Clean the device
- self._browser_backend.adb.device().old_interface.RunShellCommand(
- 'rm %s' % output_file)
+ self._browser_backend.adb.device().RunShellCommand('rm %s' % output_file)
output_file = host_output_file
print 'Net-internals log saved as %s' % output_file
print 'To view, open in chrome://net-internals'

Powered by Google App Engine
This is Rietveld 408576698