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

Unified Diff: chrome/test/pyautolib/pyauto.py

Issue 11412067: [rlz,cros] RLZ glue for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Header guard Created 8 years, 1 month 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
Index: chrome/test/pyautolib/pyauto.py
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
index 1b491d04422f8c358d9b8ea23233087af9df1b35..3978821cafbf7d92db48d2a6f3a245acb88ea9bc 100755
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -4527,7 +4527,8 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
cmd_dict = { 'command': 'AcceptOOBENetworkScreen' }
return self._GetResultFromJSONRequest(cmd_dict, windex=None)
- def AcceptOOBEEula(self, accepted, usage_stats_reporting=False):
+ def AcceptOOBEEula(self, accepted, usage_stats_reporting=False,
+ rlz_enabled=False):
"""Accepts OOBE EULA and advances to the next screen.
Assumes that we're already at the OOBE EULA screen.
@@ -4535,6 +4536,7 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
Args:
accepted: Boolean indicating whether the EULA should be accepted.
usage_stats_reporting: Boolean indicating whether UMA should be enabled.
+ rlz_enabled: Boolean indicating whether RLZ should be enabled.
Returns:
A dictionary with the following keys:
@@ -4546,7 +4548,8 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
"""
cmd_dict = { 'command': 'AcceptOOBEEula',
'accepted': accepted,
- 'usage_stats_reporting': usage_stats_reporting }
+ 'usage_stats_reporting': usage_stats_reporting,
+ 'rlz_enabled': rlz_enabled }
return self._GetResultFromJSONRequest(cmd_dict, windex=None)
def CancelOOBEUpdate(self):

Powered by Google App Engine
This is Rietveld 408576698