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__( |