chrome/test/chromedriver/log_replay/client_replay.py
def _GetNextClientHeaderLine(self):
    """Get the next line that is a command or response for the client.

    Returns:
      String containing the header of the next client command/response, or
        an empty string if we're at the end of the log file.
    """
    while True:
      next_line = self._log_file.readline()
      if not next_line:  # empty string indicates end of the log file.
        return None
      if re.match(self._CLIENT_PREAMBLE_REGEX, next_line):
        return next_line
      if re.match(self._CLIENT_PREAMBLE_REGEX_READABLE, next_line):
        #Readable timestamp contains a space between date and time,
        #which breaks other parsing of the header. Replace with underscore
        next_line = next_line.replace(" ", "_", 1)
        return next_line
Get the next line that is a command or response for the client.

    Returns:
      String containing the header of the next client command/response, or
        an empty string if we're at the end of the log file.
    
Get the next line that is a command or response for the client.
Get the next line that is a command or response for the client .
def _GetNextClientHeaderLine(self):
    while True:
      next_line = self._log_file.readline()
      if not next_line:  
        return None
      if re.match(self._CLIENT_PREAMBLE_REGEX, next_line):
        return next_line
      if re.match(self._CLIENT_PREAMBLE_REGEX_READABLE, next_line):
        next_line = next_line.replace(" ", "_", 1)
        return next_line
def _GetNextClientHeaderLine ( self ) : while True : next_line = self . _log_file . readline ( ) if not next_line : return None if re . match ( self . _CLIENT_PREAMBLE_REGEX , next_line ) : return next_line if re . match ( self . _CLIENT_PREAMBLE_REGEX_READABLE , next_line ) : next_line = next_line . replace ( " " , "_" , 1 ) return next_line
Get the next line that is a command or response for the client.
Get the next line that is a command or response for the client .
"""Get the next line that is a command or response for the client.

    Returns:
      String containing the header of the next client command/response, or
        an empty string if we're at the end of the log file.
    """ # empty string indicates end of the log file. #Readable timestamp contains a space between date and time, #which breaks other parsing of the header. Replace with underscore
String containing the header of the next client command/response, or
an empty string if we're at the end of the log file.
String containing the header of the next client command / response or an empty string if we ' re at the end of the log file .
self