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

Unified Diff: tools/telemetry/telemetry/user_story/android/shared_app_state.py

Issue 842963003: Enable accessing webviews for android user stories. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pass in shared_user_story_state instead of app 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/user_story/android/__init__.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/user_story/android/shared_app_state.py
diff --git a/tools/telemetry/telemetry/user_story/android/shared_app_state.py b/tools/telemetry/telemetry/user_story/android/shared_app_state.py
index 1428d3f350283eda08586786861a072d5d4006fc..0bef66e6c1736d22e4748ac48e1e05d3856a8a67 100644
--- a/tools/telemetry/telemetry/user_story/android/shared_app_state.py
+++ b/tools/telemetry/telemetry/user_story/android/shared_app_state.py
@@ -44,6 +44,10 @@ class SharedAppState(shared_user_story_state.SharedUserStoryState):
self._android_platform, android_platform.AndroidPlatform)
@property
+ def app(self):
+ return self._android_app
+
+ @property
def platform(self):
return self._android_platform
@@ -54,8 +58,7 @@ class SharedAppState(shared_user_story_state.SharedUserStoryState):
user_story.start_intent)
def RunUserStory(self, results):
- # TODO(chrishenry): Implement this properly.
- self._current_user_story.Run()
+ self._current_user_story.Run(self)
def DidRunUserStory(self, results):
if self._android_app:
« no previous file with comments | « tools/telemetry/telemetry/user_story/android/__init__.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698