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

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

Issue 243403003: [Android] Change object types from AndroidCommands to DeviceUtils everywhere else. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 8 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 e828a749cf381cb4d3c805c77661571648e65d28..c3d8ef059461773ffcbd2293cf7b057c6494c5bf 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/netlog_profiler.py
@@ -35,9 +35,11 @@ class NetLogProfiler(profiler.Profiler):
# On Android pull the output file to the host.
if self._platform_backend.GetOSName() == 'android':
host_output_file = '%s.json' % self._output_path
- self._browser_backend.adb.Adb().Adb().Pull(output_file, host_output_file)
+ self._browser_backend.adb.device().old_interface.Adb().Pull(
+ output_file, host_output_file)
# Clean the device
- self._browser_backend.adb.Adb().RunShellCommand('rm %s' % output_file)
+ self._browser_backend.adb.device().old_interface.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