| Index: chrome/test/pyautolib/pyauto.py
|
| diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
|
| index c05562ebe7ebc0568f21c9732587535fa7393cf3..483c99aa8ba023908685b2755ce5a914937c3403 100755
|
| --- a/chrome/test/pyautolib/pyauto.py
|
| +++ b/chrome/test/pyautolib/pyauto.py
|
| @@ -2130,52 +2130,6 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
|
| 'action': 'default'}
|
| self._GetResultFromJSONRequest(cmd_dict, windex=windex)
|
|
|
| - def _EnsureProtectorCheck(self):
|
| - """Ensure that Protector check for changed settings has been performed in
|
| - the current browser session.
|
| -
|
| - No-op if Protector is disabled.
|
| - """
|
| - # Ensure that check for default search engine change has been performed.
|
| - self._GetResultFromJSONRequest({'command': 'LoadSearchEngineInfo'})
|
| -
|
| - def GetProtectorState(self, window_index=0):
|
| - """Returns current Protector state.
|
| -
|
| - This will trigger Protector's check for changed settings if it hasn't been
|
| - performed yet.
|
| -
|
| - Args:
|
| - window_index: The window index, default is 0.
|
| -
|
| - Returns:
|
| - A dictionary.
|
| - Example:
|
| - { u'enabled': True,
|
| - u'showing_change': False }
|
| - """
|
| - self._EnsureProtectorCheck()
|
| - cmd_dict = {'command': 'GetProtectorState'}
|
| - return self._GetResultFromJSONRequest(cmd_dict, windex=window_index)
|
| -
|
| - def ApplyProtectorChange(self):
|
| - """Applies the change shown by Protector and closes the bubble.
|
| -
|
| - No-op if Protector is not showing any change.
|
| - """
|
| - cmd_dict = {'command': 'PerformProtectorAction',
|
| - 'action': 'apply_change'}
|
| - self._GetResultFromJSONRequest(cmd_dict)
|
| -
|
| - def DiscardProtectorChange(self):
|
| - """Discards the change shown by Protector and closes the bubble.
|
| -
|
| - No-op if Protector is not showing any change.
|
| - """
|
| - cmd_dict = {'command': 'PerformProtectorAction',
|
| - 'action': 'discard_change'}
|
| - self._GetResultFromJSONRequest(cmd_dict)
|
| -
|
| def GetLocalStatePrefsInfo(self):
|
| """Return info about preferences.
|
|
|
|
|