chrome/updater/test/service/win/updater_test_service_control.py
def _WaitServiceStatus(status, timeout=30):
  """Wait the service to be in the given state."""
  check_interval = 0.2
  for i in range(int(timeout / check_interval)):
    if _IsServiceInStatus(status):
      return True
    time.sleep(check_interval)
  return False
Wait the service to be in the given state.
Wait the service to be in the given state.
Wait the service to be in the given state .
def _WaitServiceStatus(status, timeout=30):
  check_interval = 0.2
  for i in range(int(timeout / check_interval)):
    if _IsServiceInStatus(status):
      return True
    time.sleep(check_interval)
  return False
def _WaitServiceStatus ( status , timeout = 30 ) : check_interval = 0.2 for i in range ( int ( timeout / check_interval ) ) : if _IsServiceInStatus ( status ) : return True time . sleep ( check_interval ) return False
Wait the service to be in the given state.
Wait the service to be in the given state .
"""Wait the service to be in the given state."""
status
timeout