Index: chrome/test/pyautolib/pyauto.py |
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py |
index c05562ebe7ebc0568f21c9732587535fa7393cf3..be8f3f228874c21216638c380fe82a7427f33b72 100755 |
--- a/chrome/test/pyautolib/pyauto.py |
+++ b/chrome/test/pyautolib/pyauto.py |
@@ -4530,7 +4530,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. |
@@ -4538,6 +4539,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: |
@@ -4549,7 +4551,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): |