Lines Matching refs:commands
24 // . The current file, which is the file commands passed to AppendCommands
29 // Each file contains an arbitrary set of commands supplied from
58 // Appends the specified commands to the current file. If reset_first is
61 // NOTE: this deletes SessionCommands in commands as well as the supplied
63 void AppendCommands(std::vector<SessionCommand*>* commands,
66 // Invoked from the service to read the commands that make up the last
71 // Reads the commands from the last file.
73 // On success, the read commands are added to commands. It is up to the
74 // caller to delete the commands.
75 bool ReadLastSessionCommandsImpl(std::vector<SessionCommand*>* commands);
77 // Deletes the file containing the commands for the last session.
85 // Invoked from the service to read the commands that make up the current
90 // Reads the commands from the current file.
92 // On success, the read commands are added to commands. It is up to the
93 // caller to delete the commands.
94 bool ReadCurrentSessionCommandsImpl(std::vector<SessionCommand*>* commands);
104 // current_session_file_ contains no commands.
113 // Appends the specified commands to the specified file.
115 const std::vector<SessionCommand*>& commands);
138 // If true, the file is empty (no commands have been added to it).