parameters: (self, flags)
docstring: Replaces the flags in the command line with the ones provided.
         Saves the current flags state on the stack, so a call to Restore will
         change the state back to the one preceeding the call to ReplaceFlags.
  
      Args:
        flags: A sequence of command line flags to set, eg. ['--single-process'].
               Note: this should include flags only, not the name of a command
               to run (ie. there is no need to start the sequence with 'chrome').
docstring_summary: Replaces the flags in the command line with the ones provided.
         Saves the current flags state on the stack, so a call to Restore will
         change the state back to the one preceeding the call to ReplaceFlags.
docstring_tokens: Replaces the flags in the command line with the ones provided . Saves the current flags state on the stack so a call to Restore will change the state back to the one preceeding the call to ReplaceFlags .
function: def ReplaceFlags(self, flags):
      """Replaces the flags in the command line with the ones provided.
         Saves the current flags state on the stack, so a call to Restore will
         change the state back to the one preceeding the call to ReplaceFlags.
  
      Args:
        flags: A sequence of command line flags to set, eg. ['--single-process'].
               Note: this should include flags only, not the name of a command
               to run (ie. there is no need to start the sequence with 'chrome').
      """
      new_flags = set(flags)
      self._state_stack.append(new_flags)
      self._UpdateCommandLineFile()
function_tokens: def ReplaceFlags ( self , flags ) : new_flags = set ( flags ) self . _state_stack . append ( new_flags ) self . _UpdateCommandLineFile ( )