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

Unified Diff: tools/telemetry/telemetry/core/platform/android_platform.py

Issue 899573003: Add android_action_runner to the android platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 5 years, 11 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 | « tools/telemetry/telemetry/core/platform/android_action_runner.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/platform/android_platform.py
diff --git a/tools/telemetry/telemetry/core/platform/android_platform.py b/tools/telemetry/telemetry/core/platform/android_platform.py
index 6d22a7d58e389b31ad7250b86fecae8e399c8c40..a5d40b7c7e14449d305dec968078b297e9e6ec47 100644
--- a/tools/telemetry/telemetry/core/platform/android_platform.py
+++ b/tools/telemetry/telemetry/core/platform/android_platform.py
@@ -6,11 +6,18 @@
from telemetry.core import android_app
from telemetry.core import platform
from telemetry.core.backends import android_app_backend
+from telemetry.core.platform import android_action_runner
class AndroidPlatform(platform.Platform):
def __init__(self, platform_backend):
super(AndroidPlatform, self).__init__(platform_backend)
+ self._android_action_runner = android_action_runner.AndroidActionRunner(
+ platform_backend)
+
+ @property
+ def android_action_runner(self):
+ return self._android_action_runner
def LaunchAndroidApplication(self, start_intent, is_app_ready_predicate=None):
"""Launches an Android application given the intent.
« no previous file with comments | « tools/telemetry/telemetry/core/platform/android_action_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698