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

Unified Diff: tools/telemetry/telemetry/core/chrome/android_browser_backend.py

Issue 15115005: Telemetry: adds support for chromium test shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch Created 7 years, 7 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 | « no previous file | tools/telemetry/telemetry/core/chrome/android_browser_finder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/chrome/android_browser_backend.py
diff --git a/tools/telemetry/telemetry/core/chrome/android_browser_backend.py b/tools/telemetry/telemetry/core/chrome/android_browser_backend.py
index 23cc0ebec84682610f1e08ba31260ab042ba3d79..e1ea36cd9a959a09264ed6696e643f92bfe9fd4a 100644
--- a/tools/telemetry/telemetry/core/chrome/android_browser_backend.py
+++ b/tools/telemetry/telemetry/core/chrome/android_browser_backend.py
@@ -144,6 +144,27 @@ class ContentShellBackendSettings(AndroidBrowserBackendSettings):
return '/data/data/%s/app_content_shell/' % self.package
+class ChromiumTestShellBackendSettings(AndroidBrowserBackendSettings):
+ def __init__(self, adb, package):
+ super(ChromiumTestShellBackendSettings, self).__init__(
+ adb=adb,
+ activity='org.chromium.chrome.testshell.ChromiumTestShellActivity',
+ cmdline_file='/data/local/tmp/chromium-testshell-command-line',
+ package=package,
+ pseudo_exec_name='chromium_testshell')
+
+ def GetDevtoolsRemotePort(self):
+ return 'localabstract:chromium_testshell_devtools_remote'
+
+ @property
+ def is_content_shell(self):
+ return True
+
+ @property
+ def _profile_dir(self):
+ return '/data/data/%s/app_chromiumtestshell/' % self.package
+
+
class WebviewBackendSettings(AndroidBrowserBackendSettings):
def __init__(self, adb, package):
super(WebviewBackendSettings, self).__init__(
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/chrome/android_browser_finder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698