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

Unified Diff: client/cros/cros_ui.py

Issue 6825028: [autotest] Ensure that ownership state is properly cleaned during test setup (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: Created 9 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
« no previous file with comments | « no previous file | client/cros/cros_ui_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cros/cros_ui.py
diff --git a/client/cros/cros_ui.py b/client/cros/cros_ui.py
index ad40759d30c8576abf7d31b73f7a8a1f867176a2..a5f2a7a0e6d5acc9c5ace48bcd51db8cbfb45751 100644
--- a/client/cros/cros_ui.py
+++ b/client/cros/cros_ui.py
@@ -65,6 +65,14 @@ def get_autox():
return autox.AutoX()
+def stop():
+ return utils.system("stop ui")
+
+
+def start():
+ return utils.system("start ui")
+
+
class ChromeSession(object):
"""
A class to open a tab within the running browser process.
« no previous file with comments | « no previous file | client/cros/cros_ui_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698